Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
Eemntd
Last edited Oct 9, 2019
Created on Oct 9, 2019

This visualization shows a static bar chart of country populations based on data from `data.csv`. It demonstrates fundamental D3.js DOM manipulation by using `d3.select`, `d3.csv`, `d3.scaleLinear`, and `d3.max` to bind the dataset to SVG `rect` elements. The chart is rendered as an SVG, but the axes and labels are absent, and the bars are all fixed at 300 pixels wide and 300 pixels tall, indicating an incomplete or work-in-progress example. The code is built with D3 v5 and uses a `bundle.js` script.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes