Skip to main content

I want to display the evolution of population in all districts of Würzburg with a line chart. For that I use this dataset.
In order to compare the districts, I created a series-breakdown on “Stadtbezirk” facet. But since there are 13 districts, this looks a little bit confusing. 
At the moment, one could unselect several districts by hand by clicking on them in the legend. In this case, it would be more convenient, if there are all but a one ore two districts unselected by default.

Is there any possibility to implement this in the HTML or CSS-Code?

At the moment, the code for the chart looks like this:

<ods-dataset-context context="stadtbezirkehauptwohnsitzaltersgruppen" stadtbezirkehauptwohnsitzaltersgruppen-dataset="stadtbezirke_hauptwohnsitz_altersgruppen">
<ods-chart scientific-display="false" align-month="true">
<ods-chart-query context="stadtbezirkehauptwohnsitzaltersgruppen" field-x="jahr" maxpoints="0" timescale="year" series-breakdown="stadtbezirk">
<ods-chart-serie expression-y="wert" chart-type="line" function-y="SUM" color="range-Accent" scientific-display="true">
</ods-chart-serie>
</ods-chart-query>
</ods-chart>

</ods-dataset-context>

Thanks for your help!!

Be the first to reply!

Reply