Skip to main content
100%

Axes With React & D3

✓ Published1🌍 Public
Mmscoop16
Last edited Jul 5, 2022
Created on Jul 5, 2022

This bar chart visualizes the top 10 countries by 2020 population using data from the UN Population dataset, rendered as SVG via React. The code combines React with D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with `csv` loading the data. Gridlines and tick labels are generated from `xScale.ticks()`, while country names and proportional rectangles are mapped from the data.

AI-generated description

Using React to render data about CSS named colors.

MIT Licensed

Similar vizzes