Fork of Shapes with SVG and CSS
✓ Published0🌍 Public
This example renders a single fixed SVG circle on an HTML canvas. It demonstrates how to include D3 through UNPKG and import from local ES6 modules, though the visible output is purely a static `<circle>` element styled with CSS. The code loads D3 via UNPKG and uses inline SVG coordinates to position the shape, but no D3 functions are invoked for drawing or interaction. The styling comes from an external `styles.css` file that resets the body margin and hides overflow, while the circle itself remains unstyled.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed