Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make Bar Chart with D3.js!

Public visualization

Viewing a saved revision (read-only)

6035247844c14be49e885ec53c5ce41b

Let's make Bar Chart with D3.js!

0 stars0🌍 Public
MMayaJava
Last edited Mar 31, 2020
Created on Mar 31, 2020

This bar chart displays population estimates for five countries or regional groupings, with horizontal bars whose lengths are proportional to each value. The visualization is built with React and D3 v5, using `d3.csv` to load the dataset and `d3.scaleLinear` and `d3.scaleBand` to map population counts and country names to pixel coordinates. Bar rectangles are appended to an SVG canvas, with heights and widths derived from the scales, and the chart renders without axes or labels.

AI-generated description

React Starter code.