Fork of Aditya - React D3 Conditional Line Chart Practice
✓ Published0🌍 Public
Sshery1001
Last edited Aug 13, 2022
Created on Aug 13, 2022
This chart visualizes risk values over time as a connected scatter plot, with each point colored green, amber, or red based on whether its value falls below 50, between 50 and 75, or above 75. Dashed reference lines mark these thresholds. The visualization uses React with D3 v6, including `scaleTime`, `scaleLinear`, `extent`, and `line` generators, rendering SVG elements with axes built from `timeFormat` tick labels. Data loads from a CSV file via `d3.csv`, and both the line path and circles display CSS drop-shadow filters.
AI-generated descriptionLine chart with conditional point markers
MIT Licensed