Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars1🌍 Public
SSuperweedMan
Last edited Jun 28, 2020
Created on Jun 24, 2020

This example shows the process of building a bar chart from scratch using D3 v5, loading data from a CSV file via `d3.csv` and rendering it as SVG elements selected with `d3.select`. The chart is constructed within an HTML page that imports the D3 library, with the visualization created dynamically through JavaScript in `index.js`. The accompanying CSS defines chart styling, including a red highlight for specific elements, while the SVG canvas is set to fixed dimensions of 960 by 500 pixels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed