Skip to main content
100%

Making a Bar chart

✓ Published1🌍 Public
Ggoshashi
Last edited May 19, 2020
Created on May 19, 2020
Forked from Lets make a face

This bar chart displays the population of five countries, sorted vertically by country name, with horizontal bars representing each population value. The visualization uses React with D3 v5, loading data from a CSV file and rendering SVG elements. The code employs D3 scales, including `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, alongside `axisLeft` and `axisBottom` to generate the axes. Population values are multiplied by 1000 during data preprocessing before being mapped to bar widths.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes