🌍 Public
Viewing a saved revision (read-only)
051ae35df42c48d2b0bab52648eacde6
tsk8
This visualization displays the reigns of British monarchs from 1066 to 2024 as a bubble chart, with each circle representing a monarch positioned along a timeline and colored according to their royal house (Windsor, Hanover, Stuart, etc.). The chart uses D3 v7’s `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes and `selectAll` with `enter().append('circle')` to render the SVG bubbles from a hardcoded data array containing monarch names, reign dates, and house affiliations.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.