Electric Vehicle Data Pie Chart
This pie chart illustrates the distribution of electric vehicles by type, with a sample dataset drawn from the Electric_Vehicle_Data.csv file. Two slices are displayed, likely showing the proportion of Battery Electric Vehicles (BEVs) versus Plug-in Hybrid Electric Vehicles (PHEVs) across the dataset. The visualization is built using the Vue.js framework and D3.js version 6.7.0, with the `pie` and `arc` generator functions from the D3 library to construct the chart's geometry. The SVG-based pie slices and percentage labels are rendered with a custom color scale, and the chart includes interactive hover effects that adjust slice opacity and stroke width. A legend, also built with the same dataset, accompanies the visualization to provide clarity on the categories. The chart is styled with the Share Tech font family and is displayed on a responsive canvas with a white background and subtle shadow.
AI-generated description