🌍 Public
Viewing a saved revision (read-only)
8fb646936888463cbb9c1cf6a98e59cb
D3.js
A static bar chart displays four values by region, with the tallest bar representing China (12) and the shortest Germany (6). The visualization uses D3.js v5, loading data from a local JSON file via `fetch()` while also referencing a hardcoded `DUMMY_DATA` array. Scales are constructed with `d3.scaleBand` for x-axis positioning and `d3.scaleLinear` for y-axis values, rendering SVG rectangles with purple fill in a bordered container.
AI-generated description