Data Plotly is a new plugin by Matteo Ghetta for QGIS3 which makes it possible to draw D3 graphs of vector layer attribute values. This is a huge step towards making QGIS a one stop shop for data exploration!
Data Plotly adds a new panel where graphs can be configured and viewed. Currently, there are nine different plot types:
The following examples use tree cadastre data from the city of Linz, Austria.
Scatter plots with both two and three variables are supported. After picking the attributes you want to visualize, press “Create plot”.
If you change some settings and press “Create plot” again, by default, the new graph will be plotted on top of the old one. If you don’t want that to happen, press “Clean plot canvas” before creating a new plot.
The plots are interactive and display more information on mouse over, for example, the values of a box plot:
Even aggregate expressions are supported! Here’s the mean height of trees by type (deciduous L or coniferous N):
For more examples, I strongly recommend to have a look at the plugin home page.