Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Circles with D3 - Akhil Charugulla

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of Circles with D3 - Akhil Charugulla

0
AAkhil Charugulla
Last edited Feb 27, 2024
Created on Feb 27, 2024

This visualization uses D3.js to render a cartoonish sad face with pink hair, cheeks, and a tooth, constructed from a series of overlapping circles and rectangles arranged on a green background. The code defines static position, radius, and fill color data for each facial feature, then binds this data to SVG circle elements via D3’s `selectAll().data().join()` pattern. The rendering relies on D3’s `select` and `attr` methods to set coordinates and styling, with no animation or interaction.

AI-generated description

Creating circles with D3.

Challenge

  • Fork this example
  • Modify it
  • Maybe make it Halloween themed
  • Maybe make it Christmas themed
  • Be creative

Comments

Sign in to join the discussion.

MIT Licensed