owid / owid-grapher

A platform for creating interactive data visualizations
https://ourworldindata.org
MIT License
1.36k stars 230 forks source link

Every chart can display nearly all chart types #1162

Open larsyencken opened 2 years ago

larsyencken commented 2 years ago

Core problem

To show different visualisations of a variable, authors need to create multiple grapher charts. But now they need to maintain multiple grapher charts, which increases the maintenance burden.

Proposed solution

The user should be able to switch to any chart type (excl. scatterplots, marimekko?) from the grapher interface, unless those chart types are explicitly disabled.

For scatter plots consider if always plotting GDP as the other variable would be a high value/low effort change.

Alternatives

The status quo, but authors always curate the variable so that there is not really any extra maintenance burden for charts. The downside is that it's worse for readers, because they can't access some charts that authors haven't enabled. We are also not yet in a position where historical charts can be simply curated at the variable level.

Technical thinking

Estimate

Probably a 6w project

danielgavrilov commented 2 years ago

Related on product roadmap: Allow switching between all chart types (with tabs), although it might be a bit different in the technical proposal.

larsyencken commented 9 months ago

Closing this here, we can just remember this ask. /cc @samizdatco

danyx23 commented 5 months ago

We still want this and it looks like this would be a nicer way to solve issues like #3231