Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
Aalvasilvao
Last edited Feb 18, 2022
Created on Feb 18, 2022
Forked from D3 Starter

This example demonstrates a minimal D3.js setup in which a linear scale maps input domain values from 0 to 10 to output pixel ranges from 0 to 600, producing a single scale object. The code uses `d3.scaleLinear` and invokes the scale with a value of 0, though no visual output is rendered beyond an empty SVG element containing a translated group. The page loads d3 v7 from a CDN and renders via SVG, with the body styled at a very large font size for emphasis.

AI-generated description
MIT Licensed

Similar vizzes