Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar char

Public visualization

Viewing a saved revision (read-only)

4bc90a3169884c12b405aeb7ea9423cf

Making a Bar char

0 stars1🌍 Public
RRemy-dev
Last edited Jan 13, 2022
Created on Jan 13, 2022

This bar chart displays the population of the top 20 most populous countries, with countries on the y-axis and population on the x-axis. It uses D3 v7 with React and renders as SVG. The code employs `d3.csv` to load data, `scaleLinear` for the x-scale, `scaleBand` for the y-axis, and `axisLeft` and `axisBottom` for the axes, drawing rectangles for each bar.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

This bar chart shows population of the top 20 most populous countries