Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar char

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed