Line Chart
✓ Published1🌍 Public
This line chart visualizes daily new COVID-19 cases in Spain over a 60-day period, sourced from the CSSEGISandData GitHub repository. The chart uses d3.csv to load time-series data, d3.scaleTime and d3.scaleLinear to map dates and case counts, and d3.line to draw the steelblue path. Interactive circle elements with mouseover handlers populate a tooltip showing the date and cases using event.pageX and event.pageY. The SVG rendering includes grid lines via d3.axisLeft and labeled x and y axes for date and daily cases.
AI-generated descriptionMIT Licensed