explorable-viz / fluid

Data-linked visualisations
http://f.luid.org
MIT License
34 stars 2 forks source link

Links that activate predefined selection states #983

Open RaoOfPhysics opened 4 months ago

RaoOfPhysics commented 4 months ago

Over in https://github.com/explorable-viz/fluid-examples/issues/20 we settled on using Figure 6.19 from Chapter 6 of IPCC’s AR6 WG1 report.

The highlighted text below goes into greater detail than is shown in the first row of the plot: namely the individual contributing factors to methane emissions.


\

Screenshot 2024-05-17 Chapter 6 Short-lived Climate Forcers

\


We can envision having the text “linked” to the visualisation so that upon clicking on “SSP scenarios without climate change mitigation”, only the relevant of six scenarios is shown in the plot. Then when one clicks on “methane emissions” it only shows the first row, and then when one clicks on “Africa, the Middle East”, it only shows the left column, and finally when one clicks on “agriculture”, it shows the breakdown of the relevant scenarios for Africa and the Middle East for methane emissions from agriculture only with the overall value also visible.

On the right in a sidebar, an explanatory map builds showing the choices that the user has made.

rolyp commented 4 months ago

Discussed this with @dorchard today. I think this would be very compelling – we can probably think of the query as a selection state (or some generalisation/enrichment thereof) and of the links/sidebars as activating predefined selections. (Let’s think more about this and then perhaps rename the task accordingly.)

This feature would imply some kind of mechanism for efficiently specifying selection states, which might be tricky when there is lots of highly structured content. XPath might provide some inspiration.