Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

making a bar chart

Public visualization

Viewing a saved revision (read-only)

492a7583dda845ce906a0e9a74665fd2

making a bar chart

0 stars2🌍 Public
Lleopoldovce2
Last edited May 13, 2021
Created on May 13, 2021

This example shows a horizontal bar chart of population by country, using a CSV data source with values scaled by a thousand. The visualization is rendered in SVG using D3 v6, with linear and band scales for positioning, axes from `axisLeft` and `axisBottom`, and rectangles appended via `selectAll` and `enter`. The chart highlights Algeria’s large population relative to other listed nations, with a clean margin layout and steelblue bars.

AI-generated description

An example including some commonly used features of SVG.