Skip to main content
100%

Fork of Data Visualization with D3 - Smiley Part II

✓ Published1🌍 Public
AAurore Paligot
Last edited Jun 15, 2021
Created on Jun 15, 2021

A React component renders a static smiley face using SVG circles. It shows a large yellow circle with a red stroke for the face, and two smaller red circles positioned symmetrically for the eyes, all centered within a 960 by 500 viewport. The code uses ReactDOM to mount the component into the HTML root, with all dimensions and offsets defined as JavaScript constants. The example demonstrates basic SVG shape composition and layout within React, without any interactive or data-driven behavior.

AI-generated description

Data Visualization with D3 - Smiley Part I

MIT Licensed

Similar vizzes