Fork of Circles with D3
✓ Published0🌍 Public
This example demonstrates a simple D3.js chart that renders six colored circles with varying sizes and positions on a dark gray background. The circles are defined in a static dataset containing x and y coordinates, radius, and fill color values. Using the `select`, `data`, and `join` methods from the d3 library, the code creates an SVG element that binds the data to circle elements. The visualization focuses on basic data binding and SVG rendering, with a prompt encouraging users to fork the project and customize it for themes like Halloween or Christmas.
AI-generated descriptionCreating circles with D3.
Challenge
- Fork this example
- Modify it
- Maybe make it Halloween themed
- Maybe make it Christmas themed
- Be creative
Svelte
Here's a video on how to get started with Svelte as well!
MIT Licensed