Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Own testing

Public visualization

Viewing a saved revision (read-only)

4c27f4c525064b558eb8d0b6b6c5f93d

Own testing

0 stars0🌍 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