Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes with SVG and CSS

Public visualization

Shapes with SVG and CSS

0 stars1🌍 Public
Jjrdieter15
Last edited Jul 21, 2020
Created on Jul 18, 2020
Forked from React Starter

This example displays primitive SVG shapes—circles, rectangles, and a line—statically rendered on an 960×500 canvas. It uses React to import and parse a local `cars.js` JSON dataset, though the data itself is not visually mapped to the shapes. The SVG elements are styled with inline attributes like `fill` and a linked `style.css` that sets body margins and overflow. A separate `index.js` module writes a “Hello world” message into the DOM, while the shapes remain fixed without interaction or data binding.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed