Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

SVG Demo

Public visualization

Viewing a saved revision (read-only)

f2b76c581abd4b30af86b4ec2cfa444c

SVG Demo

0 stars1🌍 Public
GGabrz
Last edited Mar 25, 2020
Created on Mar 25, 2020
Forked from Cars Report

This example demonstrates basic Scalable Vector Graphics (SVG) shapes, including circles, rectangles, lines, and paths, rendered directly in an HTML page. The visualization uses inline SVG elements within an `index.html` file, with styling applied via an external `styles.css` stylesheet. The SVG canvas is scaled and translated using SVG transform attributes, while CSS classes like `.lines` and `.c3` control stroke colors, widths, and fill properties for grouped elements. The code highlights how SVG’s native coordinate system and CSS cascading rules combine to define a static, vector-based graphic.

AI-generated description

Data Visualization with D3 course; Shapes with SVG and CSS