Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 Starter

Public visualization

Fork of D3 Starter

0 stars0🌍 Public
AAnurup Reddy
Last edited Oct 4, 2025
Created on Oct 4, 2025
Forked from D3 Starter

This example presents a bar chart of country counts by continent, loaded from a CSV file via `fetch` and parsed with `d3.csvParse`. Each continent’s bar width is scaled proportionally to its country total, with counts displayed inside the bars, alongside a summary panel showing file size, row count, and column names. The visualization uses D3 v7 to update SVG rectangles and text elements directly via `getElementById` and `setAttribute`, while the static layout and styling are defined in HTML and CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed