Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Visualize Your Project Timeline | Data Visualization for Makers
Python for Creators and Makers
Sektion 2. Kapitel 5
single

single

bookChallenge: Visualize Your Project Timeline

Stryg for at vise menuen

Visualizing project timelines is a powerful technique for makers to track their progress and gain insights into how time is allocated across different phases. By representing each phase of a project visually, you can quickly identify which stages require the most effort and where potential improvements can be made in future projects. This approach not only helps in managing your current work but also serves as a valuable reference when planning new endeavors.

Opgave

Swipe to start coding

Write a script that uses matplotlib to create a bar chart showing the number of days spent on each project phase. Use the provided phases and days data. Add axis labels and a title to your chart.

  • Create a bar chart using the phases list for the x-axis and the days list for the y-axis.
  • Add a label for the x-axis indicating "Project Phase".
  • Add a label for the y-axis indicating "Days Spent".
  • Add a title to the chart: "Maker Project Timeline".
  • Display the chart.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 5
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt