Skip to main content
100%

Let's make a page with D3.js

✓ Published0🌍 Public
DdancingCars
Last edited Jan 31, 2020
Created on Jan 31, 2020

This example demonstrates how to build a simple SVG page using D3.js, with an empty 960×500 SVG canvas ready for dynamic content. The code loads D3 from a CDN and applies minimal styling—removing body margins and hiding overflow—while leaving the canvas blank for user additions. It shows the foundational setup for creating SVG-based visualizations with D3, including the HTML structure, linked stylesheet, and script inclusion. The page relies on the standard D3 v3 library and SVG rendering, with no additional data sources or interactive behavior implemented in the visible files.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes