Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #480: Electric Vehicle Production Insights - Part 1

AYXAcademy
Alteryx
Alteryx

Full Width - WC banner.svg

 

Hi Community members,

 

A solution to last week’s challenge can be found here.

 

This two-part challenge was submitted by Guilherme Dias, @Bennu. Thank you, Guilherme, for your great submission!

 

Electric vehicle (EV) production data offers powerful insights into innovation, market trends, and manufacturer behavior. As researchers dig into the data, your task is to help uncover major production shifts and unique behaviors in EV model lifecycles.

For part 1 of this challenge, your analysis should only include data from 2010 to 2024. Exclude data from the year 2025, as it contains only partial records. Here are the three tasks you need to accomplish:

 

  1. Identify the year with the largest increase and the largest decrease in total EV production compared to its previous year.
  2. Find the top 3 EV models that had the longest production pause (in years) before resuming production again. Only consider models that had a production gap followed by a confirmed comeback.
  3. In the most recent full year of data, determine which manufacturer introduced the most units of never-before-seen models. Ensure that your logic dynamically adjusts to the latest year, without hardcoded values.

You are provided with one dataset:

Electric Vehicle Data – provides the model year, manufacturer (brand) and car model.

 

Once you have completed your challenge, include your solution file and a screenshot of your workflow as attachments to your comment.

 

Stay tuned for part two of this challenge!

Good Luck!

The Academy Team

 

Source:

https://catalog.data.gov/dataset/electric-vehicle-population-data

 

Download Start File

 

Download Solution File

Pilsner
12 - Quasar

Thoroughly enjoyed this challenge. I'm sure it's possible to solve with a lot fewer tools than I used, but I got there in the end!

Spoiler
For part 2, I found that the Toyota RAV4 was the model with the longest gap, curious if anyone else finds the same, but other than that all my answers matched.
480.png

Time Taken: 00:18:32

Edit: If I connect my part two to the same filter (2010-2024) then all my answers match. I mistook part one to mean task 1, for the date range specified in the question. I've updated the screenshot above
Kenda
16 - Nebula
16 - Nebula
Spoiler
image.png
DylanBell
10 - Fireball
Spoiler
Screenshot 2025-06-11 161732.png


Bulien
PhilipMannering
16 - Nebula
16 - Nebula

I also got a different answer to Part 2 ¯\_(ツ)_/¯

 

Edit: Incorrect [Model Year] filtering at the beginning :/

 

Spoiler
image.png

 

abacon
12 - Quasar

Agreed with @Pilsner, I definitely could have used less tools but a fun one!

 

Spoiler
image.png
Louie-Horn
7 - Meteor

Not the easiest, had to really think about this one - and used a lot of tools....

Spoiler
LouieHorn_0-1749652514321.png

 

JBevan89
8 - Asteroid
Spoiler
Spoiler
C480_JB.png


Bosh :(

alexnajm
18 - Pollux
18 - Pollux

Fun one! Fully support electric vehicles as the way of the future :)

Spoiler
challenge 480.png
Bennu
8 - Asteroid

Yeah.. labor intensive but hopefully also interesting.  Wise of the Academy to break it into 2 parts.

Cheers!