Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ __pycache__/
*.pyc
*.pyo
*.pyd
solar_database/__pycache__/settings.cpython-312.pyc
12 changes: 6 additions & 6 deletions database/plotly_dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
#set up the data for the permit status map with the time slider
mapDataClean = mapData[(mapData.local_permit_status != 'NA') & (mapData.final_action_year.isna()==False)]
mapDataClean['final_action_year']=mapDataClean.final_action_year.replace('PENDING',2026)
mapDataClean['final_action_year']=mapDataClean.final_action_year.replace('PENDING ',2026).astype("int")
mapDataClean['final_action_year']=mapDataClean.final_action_year.replace('PENDING ',2026).astype("int64")
years = mapDataClean['final_action_year'].unique()
years.sort()

Expand Down Expand Up @@ -293,7 +293,7 @@
yaxis=dict(title="Percent of Projects",tickformat='.0%'),
xaxis=dict(type='category',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025],
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025, 2026],
categoryorder='category ascending',
title=''))

Expand Down Expand Up @@ -346,7 +346,7 @@
yaxis=dict(title="Percent of Projects",tickformat='.0%'),
xaxis=dict(type='category',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025],
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025, 2026],
categoryorder='category ascending',
title=''))

Expand Down Expand Up @@ -398,7 +398,7 @@
type='category',
categoryorder='category ascending',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025]),
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026]),
yaxis=dict(tickformat=",.0f",
title="Megawatts"))

Expand Down Expand Up @@ -447,7 +447,7 @@
title=''),
xaxis=dict(title='',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025],
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026],
type='category',
categoryorder='category ascending'),
yaxis=dict(tickformat=",.0f",
Expand Down Expand Up @@ -643,7 +643,7 @@
html.Br(),
html.Br(),
html.H1("Virginia Solar Dashboard"),
html.P("Visualizations reflect all projects in the database as of December 31, 2025. Explore different data highlights with the buttons, and download a graph with the camera icon in the upper right corner of each graph. Project Size map includes all projects regardless of local permit status. Hovertext labels on all maps and graphs provide supplemental information."),
html.P("Visualizations reflect all projects in the database as of March 31, 2026. Explore different data highlights with the buttons, and download a graph with the camera icon in the upper right corner of each graph. Project Size map includes all projects regardless of local permit status. Hovertext labels on all maps and graphs provide supplemental information."),
html.Div(
#dashboard
[
Expand Down
12 changes: 6 additions & 6 deletions database/plotly_dash_bat.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
yaxis=dict(title="Percent of Projects",tickformat='.0%'),
xaxis=dict(type='category',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025],
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025,2026],
categoryorder='category ascending',
title=''))

Expand Down Expand Up @@ -342,7 +342,7 @@
yaxis=dict(title="Percent of Projects",tickformat='.0%'),
xaxis=dict(type='category',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025],
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024,2025,2026],
categoryorder='category ascending',
title=''))

Expand Down Expand Up @@ -395,7 +395,7 @@
type='category',
categoryorder='category ascending',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025]),
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026]),
yaxis=dict(tickformat=",.0f",
title="Megawatts"))
mwhAnnualLine = px.line(annualData,
Expand Down Expand Up @@ -446,7 +446,7 @@
type='category',
categoryorder='category ascending',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025]),
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026]),
yaxis=dict(tickformat=",.0f",
title="Megawatts"))

Expand Down Expand Up @@ -495,7 +495,7 @@
title=''),
xaxis=dict(title='',
tickmode='array',
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025],
tickvals=[2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025,2026],
type='category',
categoryorder='category ascending'),
yaxis=dict(tickformat=",.0f",
Expand Down Expand Up @@ -646,7 +646,7 @@
html.Br(),
html.Br(),
html.H1("Virginia BESS Dashboard"),
html.P("Visualizations reflect all projects in the database as of December 31, 2025. Explore different data highlights with the buttons, and download a graph with the camera icon in the upper right corner of each graph. Hovertext labels on all maps and graphs provide supplemental information."),
html.P("Visualizations reflect all projects in the database as of March 31, 2026. Explore different data highlights with the buttons, and download a graph with the camera icon in the upper right corner of each graph. Hovertext labels on all maps and graphs provide supplemental information."),
html.Br(),
html.P("For the purposes of this dashboard, Known Megawatt Hours (MWh) is limited to the projects where the megawatt hour value can be confirmed. The number of projects that apply to this measure of MWh has been specified in the graph titles. This number will be updated as new projects are added and missing MWh values are able to be confirmed. Megawatt values are available for all projects."),
html.Div(
Expand Down
Binary file not shown.
Loading
Loading