🌍 Public
Viewing a saved revision (read-only)
09b94bb7b08e40df86bf36f65bed0286
Ice7task2_2
This example shows three metrics—metric_A, metric_B, and metric_C—plotted as separate colored lines over time in a single SVG line chart. The data loads from a remote CSV file and is parsed with d3.csv, with dates converted to JavaScript Date objects. The visualization uses d3.scaleTime and d3.scaleLinear to map the data, d3.line to generate each path, and d3.axisBottom and d3.axisLeft to render the axes. A legend, created manually with SVG rect and text elements, identifies each metric’s color.
AI-generated description