Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
Oolganemtina
Last edited Jan 13, 2023
Created on Jan 10, 2023
Forked from Hello HTML

This example creates a titled scatterplot with axes, gridlines, and a connecting line, using raw data points encoded in `{x, y}` pairs. It demonstrates coordinate system construction with D3 v5’s `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft`, rendered as SVG elements. The code also uses `d3.line` to draw the path, appends circles for the dots, and adds axis labels and a title. The visualization is computed dynamically in a single `createAxes()` function, with styling defined in an embedded CSS stylesheet.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes