Skip to main content
100%

Dot & Line Chart Method

✓ Published0🌍 Public
Fferneyhoughedward@gmail.com
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Line Chart Method

This example demonstrates a dot and line chart that plots five data points with varying radii, connecting them with a blue line while rendering each point as a red-stroked white circle. The chart includes linear scales for x and y axes, with axis labels generated via `axisLeft` and `axisBottom`. Built with D3 v7, the visualization uses `scaleLinear`, `extent`, `line`, and `select` to map data values to screen coordinates, drawing SVG paths and circles at full window dimensions. The data is hardcoded as an array of objects with `xVal`, `yVal`, and `rVal` properties.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes