Skip to main content
100%

D3

✓ Published2🌍 Public
MMohit Y
Last edited Aug 2, 2020
Created on Aug 2, 2020

This visualization shows Dubai Metro trip counts for April and May 2020, grouping stations into ranges by order of magnitude (e.g., 10–99, 100–999 trips) via a D3 treemap. Users select a month from a dropdown, and clicking a range zooms into that subset, re-rendering the treemap ordered by trip numbers with a zoom-out button to reset. The code uses d3.csv for data loading, d3.treemap with d3.hierarchy for layout, d3.scaleSequential with interpolateCool for coloring, and SVG elements with clip paths and drop shadows for rendering.

AI-generated description

Monthly Data Visualization treemap

  • The visualization shows the monthly data of Dubai Metro with ranges on number of trips for every station.

  • The blocks are sorted by number of stations in range, for example for month of may the range 10-99 for number of trips has 3 stations, Al Furjan, EXPO, Jabal Ali

  • Clicking on a range is a zoom like functionality which opens a new visualization for data in that range, which is ordered by number of trips.

  • Zoom out button is used to reset data if you clicked on a range.

MIT Licensed

Similar vizzes