Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
BBlakeMcMurray
Last edited Jan 20, 2021
Created on Jan 20, 2021
Forked from Hello VizHub

This example demonstrates how to render shapes in an SVG canvas with CSS styling. It loads D3 through UNPKG and uses an SVG circle element with a radius set to 100 pixels. The stylesheet defines a basic body reset and a highlighted class that changes text color to red, though the circle itself does not currently apply this class. The visualization shows the structure for combining raw SVG markup with external styling rules.

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