Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart

Public visualization

Viewing a saved revision (read-only)

37ffeb14908940cab91b2444c653dc04

Bar chart

0 stars1🌍 Public
Llwinmgsoe
Last edited Apr 23, 2020
Created on Apr 23, 2020
Forked from HTML Starter

This bar chart displays the population of ten countries, sourced from UN data, with values scaled by a factor of one thousand. It uses D3 v5 to load the CSV dataset and render SVG rectangles, with `d3.scaleLinear` mapping population to bar width and `d3.scaleBand` positioning countries along the vertical axis. The chart includes axis labels generated by `d3.axisLeft` and `d3.axisBottom`, and applies a steelblue fill to bars with padding between them for clarity.

AI-generated description

First barchat by D3.js Dataset source UN