CyberAttacks LineChart - Final Project Draft v1
This interactive line chart visualizes annual cyber attack counts across selected industry sectors from 2018 onward. Users can select up to three industry codes via dropdown menus to compare attack trends over time, with each industry represented by a distinct colored line. The visualization is built with D3.js and uses the CISSM Cyber Attacks dataset, encoding years on the x-axis and attack counts on the y-axis. The chart includes a color legend and hover interactions to highlight specific data points.
AI-generated descriptionA simple line viz showing annual cyber attacks dataset from below: CISSM Cyber Attacks CISSM-EDA
v1 - Added drop down menus so the user can add up to three industry codes to track at once. Code heavily influenced by prof curan's menu with d3 and eschuman's interactive scatter plot.
Attempted to update the legend to reflect the choices in the drop down but could not get it to work in time. Version two (attached below) shows my attempt to add the legend updating.
Week 11 Challenge
Iterate your work.