Skip to main content
100%

fresh block

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

This example shows a simple time series line chart of monthly values, with each data point’s date label displayed beneath the line and the final value annotated at the end of the curve. The chart uses a D3 v4 SVG rendering with a time-scaled x-axis and a linear y-axis, both defined via `d3.scaleTime` and `d3.scaleLinear`. The line is drawn using `d3.line` and appended as a path, while text elements are bound to the data for labels and the last value. Data is loaded from `dataset.json` and pre-processed with a time parser (`d3.timeParse`) and number formatting.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes