A data type identifies what values mean and helps determine how they can be manipulated or represented in a visualization. D3 projects commonly encounter nominal and ordinal data alongside CSV and JSON dataset formats. section 3.0 section 3.1
Loading tabular data can change numeric values into strings, so convert values before measuring them or using them to size and position chart elements. D3’s d3.autoType detects common dates and numbers, but ambiguous values still require checking. section 4.1
Typed weekly temperatures
Load the weekly temperature dataset with d3.csv("../data/weekly_temperature.csv", d3.autoType), inspect the resulting array, and pass it to drawLineChart(data). Dates become JavaScript dates and temperatures become numbers, ready for chart construction.

















