< Back to Widgets

Rates by Metroplex

How to use:

Copy the HTML code below and place it wherever you need on your site.

1
2
3
4
5
6
7
8

<div data-eb-component="eb-average-rate-by-metroplex-table"
 style="height: 524px;"
 state="MD"
 sort-by="price"
 order-by="asc"
 >
</div>
<script src="https://www.energybot.com/eb-webcomponents/v1/component-loader.js"></script>

Show the current, previous, and % change of the average electricity rate for every metroplex in the state you specify over the last month.

Preview:

Customize this widget:

You'll need to edit the HTML above to customize this widget.

Show plans for a different state:

Change the value of state="TX" to any of the following deregulated states we support:

  • IL for Illinois

  • MD for Maryland

  • NJ for New Jersey

  • OH for Ohio

  • PA for Pennsylvania

  • TX for Texas

Sort by previous month's average rate:

Change the value of sort-by="price" to sort-by="previousPrice"

Otherwise, keep the value as sort-by="price" to sort by the current month's average rate.

If no sort-by attribute is provided, the chart will be sorted by state name.

Sort rates in descending order:

Change the value of order-by="asc" to order-by="desc"

Or alternatively, you can remove order-by="asc" from the code entirely.

Otherwise, keep the value as order-by="asc" to sort rates in ascending order.

Change this widget's height:

Change the value of height="524px;" to any other numerical value.

Edit styles / change to dark mode:

You’ll need to recreate our styles on your website using the exact same class names.

Once complete, add a link to your CSS file in the HTML code above.

It should look something like this:

1
2
3
4
5
6
7
8
9

<div data-eb-component="eb-average-rate-by-metroplex-table"
  eb-stylesheet="http://link-to-your-css-file.com.css"
 style="height: 524px;"
 state="MD"
 sort-by="price"
 order-by="asc"
 >
</div>
<script src="https://www.energybot.com/eb-webcomponents/v1/component-loader.js"></script>

Styles for this widget:

Metroplex
Current Month
Previous Month
Change %
Philadelphia-Camden-Wilmington
20.02¢
20.02¢
0.2%
Washington-Arlington-Alexandria
20.02¢
20.02¢
3.2%
Baltimore-Columbia-Towson
20.02¢
20.02¢
3.2%
San Antonio
20.02¢
20.02¢
3.2%
Austin
20.02¢
20.02¢
3.2%
New York City
20.02¢
20.02¢
3.2%
Los Angeles
20.02¢
20.02¢
3.2%
San Diego
20.02¢
20.02¢
3.2%
Electricity data by EnergyBot