Skip to main content
100%

d3.js

✓ Published0🌍 Public
SShirley Guo
Last edited Aug 11, 2019
Created on Aug 11, 2019
Forked from Shapes SVG

A cheerful yellow smiley face rendered with SVG, this example demonstrates fundamental d3.js drawing techniques. The visualization displays a large yellow circle with two black circular eyes and a mouth created using the d3.arc() API, which generates an arc path with specified inner and outer radii and start/end angles. The code selects an SVG container using d3.select and appends shapes using d3’s selection methods with attribute setters. All shapes are positioned using explicit coordinates within a 960x500 viewport, and the d3.v5 library is loaded via a CDN link.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes