pkiraly / qa-catalogue-datavis

Data visualisations for library union catalogues
GNU General Public License v3.0
0 stars 0 forks source link

Timeline should be zoomable #14

Closed nichtich closed 9 months ago

nichtich commented 10 months ago

Add a slider to select range of years. Related: #13

pkiraly commented 10 months ago

I agree. Instead of a slider Graphana and Kibana tools allow you to select an area of a chart, and you can zoom in. I like that solution (I will add here a link when I find a good example).

pkiraly commented 9 months ago

In d3.js this selection can be done with "brush": see documentation at https://d3js.org/d3-brush, example 1: https://observablehq.com/@d3/brush-snapping-transitions, example 2: https://observablehq.com/@d3/click-to-recenter-brush

pkiraly commented 9 months ago

Here is how it looks like right now. The bars are clickable at the upper chart. goethe sammlung2

pkiraly commented 9 months ago

If it solves #13 the I close this as well.