Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

New Start towards js by making a Bar chart

Public visualization

New Start towards js by making a Bar chart

0 stars1🌍 Public
Aachintyatripathi
Last edited Oct 2, 2020
Created on Oct 2, 2020

This bar chart displays the population of the ten most populous countries, using a horizontal layout with countries on the y-axis and population on the x-axis. The visualization loads data from a CSV file and renders it as SVG rectangles. It uses D3 v6 APIs including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, with a custom tick formatter that abbreviates large numbers using the `format` function. The chart includes axis labels and a title, with margins and a steelblue fill for the bars.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed