Skip to main content
100%

Bar Chart vertical

✓ Published0🌍 Public
AAndres Perdomo
Last edited Nov 8, 2023
Created on Nov 8, 2023
Forked from Bar Chart

This example renders a vertical bar chart from UN population data for 2019, displaying the top ten countries by population. The chart uses React to manage state and render SVG rectangles, while D3 utilities load and parse the CSV data. Specifically, `d3.csv` fetches the dataset, `scaleLinear` maps country names to the y-axis, and `scaleBand` maps population values to bar widths. The bars extend horizontally from the left edge, with the y-axis positioned vertically to show country rankings.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes