Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Bar Chart

Public visualization

Viewing a saved revision (read-only)

5d8e52e6b6374df48ef7a051b4b0a0a5

Fork of Bar Chart

0 stars0🌍 Public
Ssucotton9
Last edited Jul 20, 2021
Created on Jul 20, 2021
Forked from Bar Chart

This bar chart visualizes the number of migrants per country, with bar heights encoding the values on a linear scale. The chart uses D3 v6 to load CSV data, create band and linear scales, and render SVG axes and rectangles. Interactive mouseover events change bar colors from steel blue to orange, with a smooth transition on mouseout. The data originates from a remote CSV file, and the visualization is built entirely with D3’s selection, scale, and axis APIs.

AI-generated description

A demonstration of how to start using D3 version 6.