Skip to main content
100%

Tp2_DataViz_Hamizi

✓ Published0🌍 Public
NNaamaNaa
Last edited Nov 9, 2017
Created on Nov 9, 2017

This visualization displays a monthly dataset for 2016 as a black line chart, with each data point marked by a semi-transparent gray circle. A value label and a dashed vertical guide line are hidden by default, becoming visible when hovering over a circle, which also turns red and fades in the corresponding text label. The code uses d3.json to load the data, d3.timeParse and d3.timeFormat for date handling, and d3.line with time and linear scales to generate the SVG path. Animations rely on transition().duration(500) to adjust opacity and font size during mouseover and mouseout events.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes