Skip to main content
100%

D3 Vanilla Js - Bar Chart

✓ Published0🌍 Public
Iinroadings
Last edited Mar 16, 2020
Created on Mar 16, 2020

This bar chart displays population data for several countries, with horizontal bars representing relative population sizes. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear` for the x-axis, `scaleBand` for categorical y-axis placement, and `axisLeft` and `axisBottom` for axes. Data is loaded from a CSV file and sorted by year, though only the first three country entries are shown. The x-axis uses a custom tick format that converts values to billions.

AI-generated description
MIT Licensed

Similar vizzes