HTML Starter
✓ Published0🌍 Public
This example demonstrates the minimal setup for creating a D3.js visualization within an HTML page. The code appends a single SVG circle element but mistakenly sets width and height attributes instead of positioning properties, so the circle renders at its default location with default size. It uses d3.select to target the SVG container and d3’s append method to add the circle. The example serves as a bare-bones starting point, relying on a bundled JavaScript file and the d3.v5 library loaded from a CDN.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed