Skip to main content
100%

adding axes to Barchart population

✓ Published2🌍 Public
SSamuele Greco
Last edited Feb 4, 2022
Created on Feb 4, 2022

This example shows a horizontal bar chart of 2020 population estimates for ten countries, with labeled axes and grid lines. It uses React for rendering SVG elements and D3 v7 for data loading and scales, including `csv`, `scaleBand`, `scaleLinear`, and `max`. The population data is loaded from a CSV file hosted on GitHub.

AI-generated description

load data with d3 and use react for visualization

data about named colors

MIT Licensed

Similar vizzes