Skip to main content
100%

axes

✓ Published1🌍 Public
BBlake McCarty
Last edited May 11, 2022
Created on May 11, 2022
Forked from Fork of Hello HTML

This example shows a horizontal bar chart of the top 10 countries by population in 2020, with labeled axes and red grid lines for the x-axis values. The chart uses React components rendered to SVG, with D3 scale functions (`scaleBand` and `scaleLinear`) to map data to positions. Data is loaded asynchronously from a CSV file using `d3.csv`, and the tick marks and labels are generated manually by iterating over the scales' domains and tick values.

AI-generated description

Half of the smiley HTML page.

MIT Licensed

Similar vizzes