Skip to main content
100%

Own testing

✓ Published0🌍 Public
Kkhuton
Last edited Feb 16, 2021
Created on Feb 16, 2021

This example visualizes two linear scales mapping x- and y-values from the data domain into screen coordinates, though no data points are rendered. Relying on D3 v6’s `scaleLinear` functions, it sets the y-domain from 0 to 200 and the x-domain from 0 to 50, each scaled to a 0–100 range on an SVG canvas. The chart’s structure is defined in static HTML and CSS, with a 960×500 SVG element, while the scaling logic is implemented in `index.js`. The visualization currently shows only the empty axes and scale setup, with no visible marks or data drawn.

AI-generated description
MIT Licensed

Similar vizzes