Skip to main content
100%

Conditional Styling

✓ Published0🌍 Public
LLTymn
Last edited May 7, 2015
Created on May 7, 2015

This example visualizes UK homicide and attempted murder statistics from 2002 to 2011 as two filled area charts. The visualization uses conditional styling to highlight the homicide series in red with higher opacity, while attempted murders appear gray and faint. Built with d3.v3 and SVG, it employs d3.svg.area and d3.time.scale for the x-axis, with data loaded from a CSV file. Hovering over any circle or path changes its fill to orange, and the axis labels are rendered using d3.svg.axis.

AI-generated description

Similar vizzes