Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Shapes with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

e7985ca05f834f28bc5a15542453cae5

Fork of Shapes with SVG and CSS

0 stars0🌍 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.