Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive barChart TRYING NEW TRANSITIONS

Public visualization

Interactive barChart TRYING NEW TRANSITIONS

0 stars0🌍 Public
Cchaimmaeee
Last edited Nov 27, 2020
Created on Nov 27, 2020

This interactive bar chart visualizes the number of Park and Ride (P+R) parking spaces across Randstad cities, with data fetched from a GitHub-hosted JSON file. A checkbox toggles between individual city entries and combined capacities for double-listed cities, updating the visualization. Built with D3 v6, the chart uses `scaleBand` and `scaleLinear` for axes, and `axisBottom`/`axisLeft` for ticks. Bars animate from zero height to their final values via `.transition().duration()`, and the x-axis labels rotate 50 degrees for readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed