Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A4 - Bar Chart

Public visualization

A4 - Bar Chart

0 stars1🌍 Public
Kkmduncan2@dons.usfca.edu
Last edited Feb 15, 2025
Created on Feb 15, 2025
Forked from A3 - Box Plot

This bar chart visualizes total rainfall in Ecuador from 1940 to 1950, with each bar representing a year’s precipitation in millimeters. The chart uses D3 v7 to load CSV data from a Gist, scales the values with d3.scaleBand for the x-axis and d3.scaleLinear for the y-axis, and renders axes with d3.axisBottom and d3.axisLeft. Bars are drawn as SVG rectangles with a light blue fill, styled via a linked CSS file, and the layout includes margins, a title, and rotated axis labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed