Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Pphemmati
Last edited Feb 14, 2020
Created on Feb 14, 2020
Forked from HTML Starter

This example demonstrates a minimal HTML page that sets up an SVG canvas for data visualization. It initializes a fixed-width and fixed-height SVG, applies margins to create a plot region, and defines quantitative scales for x, y, radius, and color using d3.scaleLinear, d3.scaleSqrt, and d3.scaleDiverging with the RdYlGn interpolator. The scales establish ranges for axes and encode data attributes, though no data is plotted. The code imports D3 v5 and the d3-legend library for potential legend rendering.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes