Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

7dff18f68f6e494e9280ec6ae4894673

Bar Chart

0 stars1🌍 Public
NNino Schelcher
Last edited Nov 4, 2020
Created on Nov 4, 2020
Forked from Lets make a face

This bar chart visualizes population data for seven countries, with horizontal bars representing each nation’s population count. The chart is rendered as an SVG using React and D3 v6, employing `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis. Axis labels are generated with `axisLeft` and `axisBottom`, while data is bound to rectangles using D3’s selection API. The page loads D3 from a CDN and styles text elements via CSS.

AI-generated description

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

See also React Starter.