Skip to main content
100%

Fork of D3.js

✓ Published0🌍 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
MIT Licensed

Similar vizzes