Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
CChiuyc
Last edited Oct 5, 2020
Created on Oct 5, 2020

This example visualizes population figures for the ten most populous countries using a basic bar chart layout in SVG. It loads data from a CSV file containing country names and population numbers, converting the population strings to numeric values. The visualization uses D3 v5 with `d3.select` to manage the SVG element and `d3.csv` for data loading. A `scaleLinear` is defined but not yet configured with domains or ranges, while the data join appends rectangles of fixed width and height to the chart.

AI-generated description
MIT Licensed

Similar vizzes