diff --git a/CHANGELOG.md b/CHANGELOG.md index 237411804fdce13cb37d29cdb6b3c2a697925b28..c0b8750ae2ea125b84c054ade2d4870f7ba3b5fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,25 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] -Here we track upcoming changes. - ### Added -- Added a change log - -### Changed - -### Fixed +- Added draft visualizations for the Findex and Fish as Food USGS projects. -## [1.0.0] - 2024-11-07 +## [1.0.0] - 2024-12-18 ### Added -- Description of new feature - -### Changed - -- Description of change - -### Fixed - -- Description of fix +- Released the USGS Land Change Chart Gallery featuring visualizations associated with the Beaufort Sea and Fire in Ice USGS projects. diff --git a/code.json b/code.json index 45278f0b905d986a2937aef83a2669f5fea7c31c..168d5c9ec8798f585920f03dc056f14044b1c573 100644 --- a/code.json +++ b/code.json @@ -3,7 +3,7 @@ "name": "earth-in-flux", "organization": "U.S. Geological Survey", "description": "Chart gallery highlighting key findings of USGS land change science", - "version": "0.1.0", + "version": "1.1.0", "status": "Development", "permissions": { "usageType": "openSource", @@ -14,18 +14,19 @@ } ] }, - "homepageURL": "https://github.com/DOI-USGS/earth-in-flux/", + "homepageURL": "https://labs.waterdata.usgs.gov/visualizations/earth-in-flux/", "downloadURL": "https://code.usgs.gov/wma/vizlab/earth-in-flux/-/archive/main/earth-in-flux-main.zip", "disclaimerURL": "https://code.usgs.gov/wma/vizlab/earth-in-flux/-/raw/main/DISCLAIMER.md", "repositoryURL": "https://code.usgs.gov/wma/vizlab/earth-in-flux.git", "vcs": "git", - "laborHours": 50, + "laborHours": 500, "tags": [ "R", "USGS" ], "languages": [ "R", + "Python", "Vue", "JavaScript" ], @@ -34,7 +35,46 @@ "email": "hcorson-dosch@usgs.gov" }, "date": { - "metadataLastUpdated": "2024-09-11" + "metadataLastUpdated": "2024-12-16" + } + }, + { + "name": "earth-in-flux", + "organization": "U.S. Geological Survey", + "description": "Chart gallery highlighting key findings of USGS land change science", + "version": "1.0.0", + "status": "Production", + "permissions": { + "usageType": "openSource", + "licenses": [ + { + "name": "Public Domain, CC0-1.0", + "URL": "https://code.usgs.gov/wma/vizlab/earth-in-flux/-/raw/1.0.0/LICENSE.md" + } + ] + }, + "homepageURL": "https://labs.waterdata.usgs.gov/visualizations/earth-in-flux/", + "downloadURL": "https://code.usgs.gov/wma/vizlab/earth-in-flux/-/archive/1.0.0/earth-in-flux-1.0.0.zip", + "disclaimerURL": "https://code.usgs.gov/wma/vizlab/earth-in-flux/-/raw/1.0.0/DISCLAIMER.md", + "repositoryURL": "https://code.usgs.gov/wma/vizlab/earth-in-flux.git", + "vcs": "git", + "laborHours": 500, + "tags": [ + "R", + "USGS" + ], + "languages": [ + "R", + "Python", + "Vue", + "JavaScript" + ], + "contact": { + "name": "Hayley Corson-Dosch", + "email": "hcorson-dosch@usgs.gov" + }, + "date": { + "metadataLastUpdated": "2024-12-16" } } ] diff --git a/package-lock.json b/package-lock.json index 2a66d27f0aeb361be0bb9718a423b94f49ce079e..256325c3c222fd8af286562bd36377b6433a6db9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "earth-in-flux", - "version": "0.1.0", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "earth-in-flux", - "version": "0.1.0", + "version": "1.0.0", "license": "Public Domain, CC0-1.0", "dependencies": { "@uswds/uswds": "^3.6.1", diff --git a/package.json b/package.json index f600328f5c9a66192b5dc5f8c4f162264d9f8a1a..ce46f6a00defdc0a7fc4230362032192ef2aa8a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "earth-in-flux", - "version": "0.1.0", + "version": "1.0.0", "description": "Chart gallery highlighting key findings of USGS land change science", "main": "index.html", "author": "USGS Vizlab", diff --git a/src/assets/svgs/climate-vulnerability-legend.svg b/src/assets/svgs/climate-vulnerability-legend.svg deleted file mode 100644 index 2f93da6ff3f5195078ab85249dfe6090b5cec78d..0000000000000000000000000000000000000000 --- a/src/assets/svgs/climate-vulnerability-legend.svg +++ /dev/null @@ -1,75 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<svg id="chart-svg" xmlns="http://www.w3.org/2000/svg" width="350" height="100" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 350 100"> - <defs> - <style> - .cls-1 { - fill: url(#linear-gradient-2); - } - - .cls-2 { - fill: #231f20; - font-family: SourceSansPro-Bold, 'Source Sans Pro'; - font-size: 12px; - font-weight: 700; - } - - .cls-3, .cls-4 { - stroke-width: .5px; - } - - .cls-3, .cls-4, .cls-5, .cls-6 { - fill: #fff; - stroke-miterlimit: 10; - } - - .cls-3, .cls-6 { - stroke: #f37359; - } - - .cls-4, .cls-5 { - stroke: #66a9dd; - } - - .cls-5, .cls-6 { - stroke-width: 4px; - } - - .cls-7 { - fill: url(#linear-gradient); - } - </style> - <linearGradient id="linear-gradient" x1="152.4" y1="217.7" x2="162.2" y2="217.7" gradientTransform="translate(-4043 499) scale(26.7 -1.9)" gradientUnits="userSpaceOnUse"> - <stop offset=".4" stop-color="#66a9dd"/> - <stop offset="1" stop-color="#66a9dd" stop-opacity="0"/> - </linearGradient> - <linearGradient id="linear-gradient-2" x1="172.4" y1="237.6" x2="162.6" y2="237.6" gradientTransform="translate(-183.8 496) scale(2.9 -1.9)" gradientUnits="userSpaceOnUse"> - <stop offset=".4" stop-color="#f37359"/> - <stop offset="1" stop-color="#f37359" stop-opacity="0"/> - </linearGradient> - </defs> - <g id="legend-visuals"> - <g id="area-group-Percidae"> - <path id="area-Percidae" class="cls-7" d="M292.2,78.6L31.1,86.9v-18.9l261.1,8.3v2.4Z"/> - </g> - <g id="area-group-Pimelodidae"> - <path id="area-Pimelodidae" class="cls-1" d="M292.2,37.1l28.6,8.3v-18.9l-28.6,8.3v2.4Z"/> - </g> - <g id="point-2030-group-Percidae"> - <circle id="point-2030-Percidae_x5F_Zander_x5F__x28_pikeperch_x29_" class="cls-4" cx="292.2" cy="77.4" r="1.2"/> - </g> - <g id="point-2030-group-Pimelodidae"> - <circle id="point-2030-Pimelodidae" class="cls-3" cx="292.2" cy="35.9" r="1.2"/> - </g> - <g id="point-2030-group-Percidae-2" data-name="point-2030-group-Percidae"> - <circle id="point-2075-Percidae_x5F_Zander_x5F__x28_pikeperch_x29_" class="cls-5" cx="31.1" cy="77.4" r="7.4"/> - </g> - <g id="point-2030-group-Pimelodidae-2" data-name="point-2030-group-Pimelodidae"> - <circle id="point-2075-Pimelodidae" class="cls-6" cx="320.7" cy="35.9" r="7.4"/> - </g> - </g> - <g id="legend-labels"> - <text class="cls-2" transform="translate(279.4 60.5)"><tspan x="0" y="0">2030</tspan></text> - <text class="cls-2" transform="translate(18.3 60.5)"><tspan x="0" y="0">2075</tspan></text> - <text class="cls-2" transform="translate(308 19.3)"><tspan x="0" y="0">2075</tspan></text> - </g> -</svg> \ No newline at end of file diff --git a/src/components/GlacierScanViz.vue b/src/components/GlacierScanViz.vue index 5858e3a28a8c6922c3cfff60c979391466fa57ea..0605f06ca3fd6312ec7d2f23646e464d419e1862 100644 --- a/src/components/GlacierScanViz.vue +++ b/src/components/GlacierScanViz.vue @@ -360,16 +360,16 @@ event.preventDefault(); touchstart(event) }) - // add event listener to document to track tap OFF of svg - // this covers mouseleave behavior - document.addEventListener('touchstart', function(event) { - event.preventDefault(); - if (!event.target.ownerSVGElement) { - remove_xs(currentXsID.value, currentPhotoID.value); - draw_xs(default_xs, defaultPhotoID); - defaultView.value = true; - } - }, false); + // // add event listener to document to track tap OFF of svg + // // this covers mouseleave behavior + // document.addEventListener('touchstart', function(event) { + // event.preventDefault(); + // if (!event.target.ownerSVGElement) { + // remove_xs(currentXsID.value, currentPhotoID.value); + // draw_xs(default_xs, defaultPhotoID); + // defaultView.value = true; + // } + // }, false); } else { svg.selectAll("g") .on("mouseover", (event) => mouseover(event)) diff --git a/src/components/RegionalFiresViz.vue b/src/components/RegionalFiresViz.vue index 9b79de04b74bc308fc98883fa0d06fc68ff8a12a..5824c1e237c70d56a3e2d15d879f2fb3ce56ba7f 100644 --- a/src/components/RegionalFiresViz.vue +++ b/src/components/RegionalFiresViz.vue @@ -5,6 +5,9 @@ :figures="true" :fig-caption="false" > + <template #heading> + <h2 /> + </template> <!-- FIGURES --> <template #aboveExplanation> <p v-html="text.paragraph1" />