Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Simple bar chart

Public visualization

Viewing a saved revision (read-only)

5f2e7ebf0522449f869022b88acf6fa1

Simple bar chart

0 stars1🌍 Public
RRodolfo Viana
Last edited Dec 27, 2020
Created on Dec 24, 2020

A horizontal bar chart displays population figures for ten countries, with values divided by 1000 and sorted in descending order from China to Mexico. The visualization uses D3 v6 (d3.csv, d3.scaleLinear, d3.scaleBand, d3.axisLeft, d3.axisBottom) to render SVG rectangles with a red fill. The chart includes a left categorical axis for country names and a bottom quantitative axis for population. Data comes from a local CSV file, loaded asynchronously and processed before rendering.

AI-generated description