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
Aadamriley29
Last edited Jan 31, 2020
Created on Jan 31, 2020
Forked from Making a Bar Chart

This example visualizes the cumulative total of events from 1949 to 2019, with each year’s running total mapped to a bar in a simple bar chart. The visualization uses D3 v5’s `select` and `csv` functions to load data from a local CSV file, parse the numeric `running_total` column, and then append a fixed-width, fixed-height `rect` for each data point. The code does not scale the bars based on value, so all rectangles appear identical in size.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed