Skip to main content
100%

Face with D3 js

✓ Published3🌍 Public
Aadmk840
Last edited Dec 24, 2019
Created on Dec 24, 2019
Forked from HTML Starter

This example renders a red 500-by-500 SVG square with a black outlined face drawn using D3.js. The code selects the SVG element with `d3.select` and applies the background color, while CSS classes style the face’s paths and lines with a thick red stroke. The face is constructed from SVG path elements inside the HTML, with no external data source. It demonstrates basic D3 v5 selection and styling within a React-compatible HTML page.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes