Skip to main content
100%

Shapes with SVG and CSS

✓ Published1🌍 Public
Mmorjyooo
Last edited Aug 20, 2020
Created on Aug 18, 2020

This example visualizes country population data from `dataSet.csv` as simple SVG shapes, initially rendering a blank 900-by-580-pixel canvas. It uses D3 v5 to load and parse the CSV, converting the population strings to numbers. The example demonstrates styling with CSS by targeting `.lines` and `.lines path` rules, though the JavaScript only logs the parsed data to the console and does not yet draw any marks. The SVG and CSS structure suggests potential for future path-based charting, but the current code stops at data preparation.

AI-generated description
MIT Licensed

Similar vizzes