Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Hheniotamura
Last edited Sep 15, 2020
Created on Sep 15, 2020
Forked from HTML Starter

This example renders a single yellow circle with a red outline centered inside an SVG element. It demonstrates the basic structure of a D3.js visualization in an HTML page, using d3.select to access the SVG and chaining .attr calls to set the circle’s radius, position, and colors. The SVG dimensions are read directly from the DOM via .attr('width') and .attr('height'). The visualization is minimal, serving as a template for building more complex charts while running D3 v6 within a React project setup.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes