Skip to main content
100%

Fork of Shapes with SVG and CSS

✓ Published0🌍 Public
Vvictor11396
Last edited Jan 24, 2021
Created on Jan 24, 2021

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes