Cars sale in Thailand 2005-19 Final
This chart visualizes car sales in Thailand from 2005 to 2019, combining a smoothed line and a filled area underneath to show the sales trend over time. The data is loaded from a CSV file hosted on GitHub, with years parsed using `d3.timeParse` and sales values converted to numbers. The visualization uses `d3.scaleTime`, `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom` to construct the plot, while `d3.line`, `d3.area`, and `d3.curveBasis` generate the smoothed line and shaded area, rendered as SVG paths.
AI-generated descriptionThis line chart is the combinition of area chart and a line chart it shows the movement of car sales record of Thailand from 2005 to 2019. The data linked from github (Self generated dataset) [dataForclass-HW/dataset_aging.csv(https://raw.githubusercontent.com/chawinkk/dataForclass-HW/main/car%20sale%20record%20thailand.csv).
The Dataset is urlCSV from Github. The line chart are making up of sale on vertical axis from 2005 to 2019 with D3 and CSS.
Comments
Sign in to join the discussion.