Question 3.

This is your interview question.

Question 3. Visualize Total Annual Generation by Technology

Context: You have hourly generation data from 510 power plants across Vietnam, spanning 864 representative hours in one year (72 hours × 12 months=864).

Inputs

  • generator_params — metadata for the 510 plants, including a unique plant ID and its technology (e.g., coal, gas, hydro, solar, wind).

  • vgen.csv — electricity generated by each plant for hours 1–864.

(Click on the underlined text to get the data)

Goal

Using Python (e.g., pandas, matplotlib/plotly), visualize the total electricity generated by each technology over the 1 year.

Plot Requirements

  • X-axis: Technology

  • Y-axis: Total electricity generated (annual sum)

  • Different technologies appear as different colors.