🌍 Public
Viewing a saved revision (read-only)
db5d145c7cf24671b60df5f83c1e1904
EV sales 2024
This example displays the first five rows of a 2024 EV sales dataset in a simple HTML table. It shows brand, model, sales, country, and year for vehicles from Tesla, Nissan, BYD, BMW, Hyundai, and others. The data is embedded as a CSV string within the page’s JavaScript and parsed with `split()` to build table rows and headers. The interface uses styled HTML elements with CSS for a dark theme, hover effects, and alternating row colors. No external visualization libraries are used—only native DOM manipulation via `innerHTML`.
AI-generated description