d3-annotation: Thresholds & Annotation Colors
Thresholds and Annotation Color Schemes
Taking a look at the AAPL stock price from 1997 to 2003
Different Annotation types and styles:
- Historical dates: vertical annotations to mark important dates, low saturation makes them fade into the background
- High-price emphasis: to help the user see when the price is above $100, the annotation has a higher saturation to call attention to it. I've also emphasized this annotation by styling the line itself. This is done using a divided-line from Elijah Meek's Divided Line II block
- Anomalies: to explain the sudden drop in price (an anomaly in the dataset) as a result of the Apple stock splitting, I've used higher saturation and contrasting color from the rest of the chart to signal this is a special case
Made with d3.annotation().
forked from mukhtyar's block: d3-annotation: Thresholds & Annotation Colors