Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published1🌍 Public
Ppoudelnisha
Last edited Nov 15, 2019
Created on Nov 15, 2019

This example demonstrates the use of SVG and CSS to create a simple, blank canvas with a 960×500 pixel viewport. The page loads D3 v5 and logs the library to the console, showing how a minimal setup integrates D3 with custom styling. The HTML embeds an empty SVG element, while the linked stylesheet removes default margins and hides overflow on the body. The code relies on the `d3` global object and standard SVG elements, with no data or visual shapes generated yet.

AI-generated description
MIT Licensed

Similar vizzes