Fork of D3 Starter
✓ Published0🌍 Public
This line chart visualizes how the area of different geometric shapes varies by their order in a dataset, with each shape indexed sequentially along the x-axis and its area plotted on the y-axis. The SVG chart uses d3.csv to load the shapes_data.csv file, then applies d3.scaleLinear for both axes and d3.line to draw a single steelblue path connecting the data points. Axis labels for “Shape Index” and “Area” are added via d3.axisBottom and d3.axisLeft, with the chart rendered using the D3 v7 library.
AI-generated descriptionMIT Licensed