Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

adding axes to Barchart population

Public visualization

Viewing a saved revision (read-only)

a55bcd2d44c64d3280ea7fa9383dc347

adding axes to Barchart population

0 stars2🌍 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