Update app.py
Browse files
app.py
CHANGED
@@ -109,6 +109,9 @@ st.altair_chart(county_bar_chart, use_container_width=True)
|
|
109 |
|
110 |
# Contextual Visualization: Average Electric Range by Manufacturer
|
111 |
st.subheader("Average Electric Range by Manufacturer")
|
|
|
|
|
|
|
112 |
st.markdown("Explores which manufacturers offer the highest average electric ranges for their vehicles.")
|
113 |
|
114 |
avg_range_by_make = data.groupby('Make')['Electric Range'].mean().reset_index().sort_values('Electric Range', ascending=False).head(10)
|
@@ -127,6 +130,9 @@ st.altair_chart(avg_range_chart, use_container_width=True)
|
|
127 |
|
128 |
# Adding an Image
|
129 |
st.subheader("Map of Electric Vehicle Charging Stations in Washington")
|
|
|
|
|
|
|
130 |
st.image(
|
131 |
"https://cdn.prod.website-files.com/60ce1b7dd21cd5b42639ff42/64f8a7813a231fe32c6b7043_Screenshot%202023-09-06%20at%2012.22.36%20PM.webp",
|
132 |
caption="https://www.recurrentauto.com/research/washington-electric-vehicles",
|
|
|
109 |
|
110 |
# Contextual Visualization: Average Electric Range by Manufacturer
|
111 |
st.subheader("Average Electric Range by Manufacturer")
|
112 |
+
st.text("""
|
113 |
+
The Average Electric Range by Manufacturer visualization highlights the leading manufacturers in terms of battery efficiency and range capabilities. It provides an opportunity to compare how different brands prioritize and achieve performance through technological advancements. Observing the data, it's clear that some manufacturers consistently push the boundaries of electric range, catering to consumers who need vehicles for longer trips. This insight not only underscores the competitive nature of the EV market but also sheds light on how innovation drives consumer options and shapes the industry's future.
|
114 |
+
""")
|
115 |
st.markdown("Explores which manufacturers offer the highest average electric ranges for their vehicles.")
|
116 |
|
117 |
avg_range_by_make = data.groupby('Make')['Electric Range'].mean().reset_index().sort_values('Electric Range', ascending=False).head(10)
|
|
|
130 |
|
131 |
# Adding an Image
|
132 |
st.subheader("Map of Electric Vehicle Charging Stations in Washington")
|
133 |
+
st.text("""
|
134 |
+
The map below highlights the various electric vehicle charging stations across the state of Washington. As of 2024, there are 1,820 charging stations with a total of 4,658 charging ports. Public chargers are primarily located in densely populated areas, where EV owners are more likely to reside in multi-family homes without convenient access to home charging. These charging stations play a crucial role in supporting the growing number of electric vehicles in the state, ensuring drivers can conveniently recharge their vehicles during daily commutes or long-distance travel. Additionally, the strategic placement of these stations reflects ongoing efforts to promote equitable access to charging infrastructure and reduce barriers to EV adoption in urban and suburban communities.
|
135 |
+
""")
|
136 |
st.image(
|
137 |
"https://cdn.prod.website-files.com/60ce1b7dd21cd5b42639ff42/64f8a7813a231fe32c6b7043_Screenshot%202023-09-06%20at%2012.22.36%20PM.webp",
|
138 |
caption="https://www.recurrentauto.com/research/washington-electric-vehicles",
|