🌍 Public
Viewing a saved revision (read-only)
45f85f92a2c34b769d95c7793851b295
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 descriptionA bare minimum HTML page.
See also React Starter.