Dot & Line Chart Method
✓ Published0🌍 Public
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 descriptionA demonstration of how to start using D3 version 6.
MIT Licensed