Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a BarChart

Public visualization

Making a BarChart

0 stars0🌍 Public
Sswathi24288
Last edited Oct 13, 2020
Created on Oct 13, 2020

This example shows a simple yellow circle with two black eyes and a curved mouth, resembling a smiley face rendered as SVG. The drawing uses D3 version 6 API functions, including `select` to reference the SVG element, `append` to create circles and a path, and `arc` to generate the mouth’s curved shape based on specified radii and angles. The chart uses a fixed 960×500 coordinate space with no external data, instead relying on manual positioning and styling through attribute assignments.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed