Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Charts and D3

Public visualization

Bar Charts and D3

0 stars2🌍 Public
CCalvin.
Last edited Mar 16, 2022
Created on Mar 15, 2022
Forked from HTML Starter

This bar chart displays the populations of the ten most populous countries, with circles representing each nation and a linear scale mapping population values. The chart uses D3 v7 to load CSV data, scaleLinear for the x-axis, and scalePoint for categorical country positioning on the y-axis. Axes are rendered via axisBottom and axisLeft, with grid lines drawn through tick sizing. The visualization includes a title and axis labels, while styling is handled through external CSS.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed