Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars0๐ŸŒ Public
Mminimartzz
Last edited Oct 31, 2019
Created on Oct 31, 2019

A bar chart illustrates data from a CSV file, mapping values to rectangular bars. The example demonstrates fundamental DOM manipulation with D3.js v5, using `d3.select` and `d3.csv` to load data and append SVG elements. It renders the visualization into an SVG container with fixed width and height, applying styling from an external stylesheet. The chart shows how to bind data to elements and create a basic bar layout.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed