Line Chart Method
✓ Published1🌍 Public
This example demonstrates how to build a basic line chart using D3 v7. It plots a small dataset of five points with varying radii, rendering a single steelblue path using the `d3.line()` generator alongside axes created with `d3.axisLeft()` and `d3.axisBottom()`. The scales are defined with `d3.scaleLinear()` and `d3.extent()` to map data coordinates to the full browser viewport. Circle radii from the data are divided by 2.5 and stored in marks but are not rendered. The SVG output fills the entire window.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed