Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar chart

Public visualization

Viewing a saved revision (read-only)

c98e547d2b4b4e188e08a18152dbe76f

Making a Bar chart

0 stars1🌍 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.