Skip to main content
100%

Fork off

✓ Published0🌍 Public
NNigel
Last edited Jan 9, 2024
Created on Jan 9, 2024
Forked from HTML Starter

A parliament chart displays the distribution of seats in the UK House of Commons, with each party represented by a colored arc of semicircular dots. The visualization uses the d3-parliament library, which builds on D3.js, to render the seating layout as an SVG. Clicking any seat triggers an alert identifying the party. Data is provided as an array of party objects containing seat counts and colors, with animation entering seats from the center in order of increasing size.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes