Skip to main content
100%

0504_d3실습

✓ Published0🌍 Public
CChomin21
Last edited May 4, 2021
Created on May 4, 2021
Forked from HTML Starter

This example creates a static smiley face using SVG shapes, rendered through a plain React component in the bundled visualization. The code draws three circles directly in the SVG markup: a large yellow circle for the face, two smaller black circles for the eyes, and a yellow nose with a black stroke. The rendering uses inline SVG elements without D3.js functions or data-driven joins, relying solely on hardcoded coordinates and styling attributes. The page, defined in index.html, loads JavaScript to display the composition on a 900x400 canvas.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes