Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of D3.js

Public visualization

Fork of D3.js

0 stars0๐ŸŒ Public
JJuanmaBV
Last edited Oct 27, 2022
Created on Oct 26, 2022
Forked from D3.js

A fork of D3.js renders a simple bar chart of regional values using SVG rectangles styled with a purple fill. The chart fetches data from a local JSON file via the Fetch API, while also parsing a second dataset embedded as a global variable through a script tag. It uses d3.scaleBand for the x-axis positioning and d3.scaleLinear for the y-axis, with padding applied to separate the bars. The visualization demonstrates a basic data-binding workflow with D3 v5, though the chart shows no axes or labels beyond the bar heights.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed