Skip to main content
100%

Shapes with SVG and CSS

✓ Published1🌍 Public
SSwavna
Last edited Jan 5, 2022
Created on Jan 4, 2022
Forked from Hello VizHub

This example presents a three-item car sales report as a simple HTML list, using the `<ul>` and `<li>` elements to display model, year, and price. It demonstrates how SVG, cascading style sheets (CSS), and JavaScript can be combined to create visualizations. The first item, “2012 Nissan Leaf: $1800,” is highlighted in red through a CSS class named `.highlighted`, while the other two vehicles appear in the default monospace font. The visualization relies on the browser’s native Document Object Model (DOM) and CSS selectors, without any external libraries like D3.

AI-generated description
MIT Licensed

Similar vizzes