Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart test

Public visualization

Viewing a saved revision (read-only)

a7d535b05f614086acc7782a49d2fce2

Bar chart test

0 stars0🌍 Public
Kketchuparegood
Last edited Nov 30, 2020
Created on Nov 24, 2020
Forked from HTML Starter

This bar chart displays the populations of ten countries, with each bar’s length encoding the population value in thousands. The visualization uses D3 version 5’s `scaleLinear` for the x-axis and `scaleBand` for the categorical y-axis, rendering rectangles into an SVG. Data is loaded from a CSV file and processed with `csv` and `select`, while the chart’s dimensions are taken from the SVG attributes.

AI-generated description