Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Untitled

Public visualization

Untitled

0 stars0🌍 Public
EEmanuel Alvarado Perez
Last edited Aug 23, 2021
Created on Aug 23, 2021
Forked from Bar Chart

A bar chart displays monthly revenue from a JSON dataset, with each bar representing one month from January to July. The visualization uses D3 v6 to draw SVG rectangles scaled by a linear y-axis and a band x-axis, with axis labels for "Month" and "Revenue." The code loads data via `d3.json`, formats revenue values as numbers, and renders the chart using `d3.scaleBand`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft` APIs.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed