Skip to main content
100%

Ice7task2_2

✓ Published0🌍 Public
Kkmuktha09@gmail.com
Last edited Oct 24, 2025
Created on Oct 24, 2025

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
MIT Licensed

Similar vizzes