🌍 Public
Viewing a saved revision (read-only)
16771e1d8b094f6b9e0ae7752915a6f8
line-density
This example creates a bubble chart from a CSV dataset, mapping GDP per capita to the x-axis, life expectancy to the y-axis, and population to bubble radius. A D3 ordinal color scale applies circle-pattern textures from the textures library to the bubbles, with each texture defined via `textures.circles()` and varied sizes. The chart uses D3 v4 with SVG rendering, adding axes and circles through standard `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` calls.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.