Skip to main content
100%

Book LRND3 v4 Chapter2 - Part2

✓ Published1🌍 Public
Ssakhabutdinov
Last edited Jan 3, 2020
Created on Dec 23, 2019

This example displays a static SVG composition with a French text label, a green semi-transparent circle, two overlapping ellipses, a blue line, and a rounded rectangle. The shapes are drawn using D3 v5 selection methods like `append`, `insert`, and `selectAll`, with attributes set via `.attr`. A single transform chain applies translate, scale, rotate, and skewY operations to all ellipses and the circle. The code follows the chapter’s chart factory pattern, creating an SVG container sized to the window with margin offsets.

AI-generated description

Second Chapter in the book of Rinninsland and Teller

MIT Licensed

Similar vizzes