I am looking for a possibility to create line charts in QGIS: I have production data with a Field Name or ID, a date (year) and a value. I would like to be able to show a line graph of this data for individual polygons.

Is there a way to do this?

  • 1
    I think it is not possible to create line chart in qgis. Easiest way I think is export table in csv or xls and then create graphs in excel, R or in python. If you are familiar with python you can use pyqgis for selecting features and then matplotlib library for creating graphs.
    – Bulva
    Sep 6, 2016 at 13:22
  • 1
    Similar to this question. My suggestion there was to use d3, which is an option if you can code in JavaScript.
    – Steven Kay
    Sep 6, 2016 at 14:19

1 Answer 1


One of the compelling reason for me to start learning QGIS3 was the new plugin Data Plotly.

You would have noticed it already, perhaps through Anita Graser's earlier blog Data exploration with Data Plotly for QGIS3.

For details, please visit Matteo Ghetta's (author) GitHub page https://github.com/ghtmtt/DataPlotly.

enter image description here

You will find nice examples of interactive Line charts, Bar charts, and more.

  • It took me a while to find your reply, but this looks very interesting. I will explore this plugin. Thanks!
    – Cait
    Feb 13, 2019 at 14:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.