Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Curso D3JS

Public visualization

Viewing a saved revision (read-only)

dae033455aa5475299c009a7844642d2

Curso D3JS

0 stars0🌍 Public
IIsaac Lozano
Last edited Apr 13, 2020
Created on Apr 9, 2020
Forked from HTML Starter

This example shows a smiling face built from SVG shapes, with a yellow circle for the head, two black circles for eyes, and an arc path forming a mouth. The visualization is rendered in a React application using D3.js v5, specifically leveraging D3’s `select` and `arc` APIs to append and position the elements. The drawing area is defined by a 900x470 SVG, and the geometric calculations for centering and spacing rely on hardcoded values and the SVG’s height attribute. The code demonstrates basic D3 data-joining and shape generation without a connected dataset.

AI-generated description

A bare minimum HTML page.

See also React Starter.