Assignment 2 Question 1
✓ Published0🌍 Public
This bar chart displays the populations of 20 cities in 1954, ordered vertically by city name. The visualization uses React with D3 v5, employing scaleBand for the categorical y-axis and scaleLinear for the numeric x-axis. Data is loaded via d3.csv from a GitHub gist, with population values converted from a string to a number. The SVG rendering includes custom axis components and rectangle marks with tooltips formatted using d3.format.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed