Skip to content

Commit

Permalink
Commented out the Premature deaths code.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbowerjr committed Aug 20, 2024
1 parent 9fb1717 commit 110bc9a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 34 deletions.
34 changes: 17 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
airport: {}
};
</script>
<script src="data/states/num_apd_he.js" ></script>
<script src="data/states/num_apd_le.js" ></script>
<!-- <script src="data/states/num_apd_he.js" ></script>-->
<!-- <script src="data/states/num_apd_le.js" ></script>-->
<script src="data/states/mb_all_he.js" ></script>
<script src="data/states/mb_all_le.js" ></script>
<script src="data/states/mb_deaths_he.js" ></script>
<script src="data/states/mb_deaths_le.js" ></script>
<script src="data/states/mb_illness.js" ></script>
<script src="data/airports/num_apd_he.js" ></script>
<script src="data/airports/num_apd_le.js" ></script>
<!-- <script src="data/airports/num_apd_he.js" ></script>-->
<!-- <script src="data/airports/num_apd_le.js" ></script>-->
<script src="data/airports/mb_all_he.js" ></script>
<script src="data/airports/mb_all_le.js" ></script>
<script src="data/airports/mb_deaths_he.js" ></script>
Expand Down Expand Up @@ -79,19 +79,19 @@
</DIV>
</div>
</div>
<div class="t-row">
<div class="t-cell t-label data-label">Number of avoided premature deaths</div>
<div class="t-cell">
<DIV class="table sub">
<DIV class="t-row">
<DIV class="t-cell t-label">Low</DIV><DIV class="t-cell data-num_apd_le"></DIV>
</DIV>
<DIV class="t-row">
<DIV class="t-cell t-label">High</DIV><DIV class="t-cell data-num_apd_he"></DIV>
</DIV>
</DIV>
</div>
</div>
<!-- <div class="t-row">-->
<!-- <div class="t-cell t-label data-label">Number of avoided premature deaths</div>-->
<!-- <div class="t-cell">-->
<!-- <DIV class="table sub">-->
<!-- <DIV class="t-row">-->
<!-- <DIV class="t-cell t-label">Low</DIV><DIV class="t-cell data-num_apd_le"></DIV>-->
<!-- </DIV>-->
<!-- <DIV class="t-row">-->
<!-- <DIV class="t-cell t-label">High</DIV><DIV class="t-cell data-num_apd_he"></DIV>-->
<!-- </DIV>-->
<!-- </DIV>-->
<!-- </div>-->
<!-- </div>-->
<div class="t-row">
<div class="t-cell t-label data-label">Total monetized benefits</div>
<div class="t-cell">
Expand Down
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@

(() => {
let layerSel, selectedFtr, colorFn, $select, timeoutId;
let dataId = 'num_apd_he';
// let dataId = 'num_apd_he';
let dataId = 'mb_all_le';
let dataCat = 'state';
let ftrLayers = {'state': null, 'airport': null};
let ftrGeo = {'state': null, 'airport': null};
Expand Down
34 changes: 18 additions & 16 deletions options.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
const scale_color_count = 5;
const data_config = [
{
name: 'Number of avoided premature deaths (high-end estimate)',
ref_id: 'num_apd_he',
currency: false,
decimal_places: 3,
chroma_scale: ['ffffff', '003049']
},
{
name: 'Number of avoided premature deaths (low-end estimate)',
ref_id: 'num_apd_le',
currency: false,
decimal_places: 3,
chroma_scale: ['ffffff', '003049']
},
// {
// name: 'Number of avoided premature deaths (high-end estimate)',
// ref_id: 'num_apd_he',
// currency: false,
// decimal_places: 3,
// chroma_scale: ['ffffff', '003049']
// },
// {
// name: 'Number of avoided premature deaths (low-end estimate)',
// ref_id: 'num_apd_le',
// currency: false,
// decimal_places: 3,
// chroma_scale: ['ffffff', '003049']
// },
{
name: 'Total monetized benefits (high-end estimate)',
ref_id: 'mb_all_he',
currency: true,
decimal_places: 0,
chroma_scale: ['ffffff', 'a7ccb7']
// chroma_scale: ['ffffff', 'a7ccb7']
chroma_scale: ['ffffff', '003049']
},
{
name: 'Total monetized benefits (low-end estimate)',
ref_id: 'mb_all_le',
currency: true,
decimal_places: 0,
chroma_scale: ['ffffff', 'a7ccb7']
// chroma_scale: ['ffffff', 'a7ccb7']
chroma_scale: ['ffffff', '003049']
},
{
name: 'Monetized benefits - avoided premature deaths (high-end estimate)',
Expand Down

0 comments on commit 110bc9a

Please sign in to comment.