Multiple Line Chart of employment rate Final
This visualization compares the employment rates of Germany, Czech Republic, Thailand, and the United States from 1992 to 2022, plotting each country's ratio as a separate colored line on a shared time axis. The data is loaded as a CSV from a GitHub repository. Built with D3 v5, it uses `scaleTime` for the x-axis, `scaleLinear` for the y-axis, `nest` to group data by country, and a `lineGenerator` with `curveBasis` to draw smooth paths. A custom `colorLegend` component renders the categorical color scale in the SVG output.
AI-generated descriptionThis line chart shows the employment rate of 4 differnt countries: Germany, Czech Republic, Thailand and United State. The data linked from github
[dataForclass-HW/unemploymentrate_DE Muitipleline.csv(https://raw.githubusercontent.com/chawinkk/dataForclass-HW/main/unemploymentrate_DE%20Muitipleline.csv).
The Dataset is urlCSV from Github. The lines are making up of employment rate on yaxis from 1992 to 2022 of 4 different countries with D3 and CSS. the purpose is for data comparasion. On 2022 due to no dataset so I set it to zero to data for future adaptation.