Shapes with SVG and CSS
✓ Published1🌍 Public
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 descriptionReact Starter code.
MIT Licensed