Skip to main content
100%

Assignment 2 Question 1

✓ Published0🌍 Public
Lleftymadi
Last edited Jul 12, 2023
Created on Jul 11, 2023
Forked from Hello VizHub

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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes