Skip to content

Commit

Permalink
update chord diagram and map points
Browse files Browse the repository at this point in the history
  • Loading branch information
Narayana-Rao committed Oct 16, 2024
1 parent 9e5a78b commit 9c45e80
Show file tree
Hide file tree
Showing 15 changed files with 716 additions and 1,152 deletions.
3 changes: 2 additions & 1 deletion assets/css/chord_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.8));
}
.fade {
opacity: 0.1;
opacity: 0.4;
/* console.log('fade'); */
}
/* Ribbons glow effect */
.glow {
Expand Down
26 changes: 13 additions & 13 deletions assets/js/articles.bib
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@article{bhogapurapu2021dual,
title={Dual-polarimetric descriptors from Sentinel-1 GRD SAR data for crop growth assessment},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Bhattacharya, Avik and Mandal, Dipankar and Lopez-Sanchez, Juan M and McNairn, Heather and L{\'o}pez-Mart{\'\i}nez, Carlos and Rao, Yalamanchili S},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Bhattacharya, Avik and Mandal, Dipankar and Lopez-Sanchez, Juan M and McNairn, Heather and Lopez-Martinez, Carlos and Rao, YS},
journal={ISPRS Journal of Photogrammetry and Remote Sensing},
volume={178},
pages={20--35},
Expand All @@ -18,7 +18,7 @@ @article{bhogapurapu2022soil
}
@article{mandal2019sentinel,
title={Sentinel-1 SLC preprocessing workflow for polarimetric applications: A generic practice for generating dual-pol covariance matrix elements in SNAP S-1 toolbox},
author={Mandal, Dipankar and Vaka, Divya Sekhar and Bhogapurapu, Narayanarao and Vanama, VSK and Kumar, Vineet and Rao, Yalamanchili S and Bhattacharya, Avik},
author={Mandal, Dipankar and Vaka, Divya Sekhar and Bhogapurapu, Narayanarao and Vanama, VSK and Kumar, Vineet and Rao, YS and Bhattacharya, Avik},
year={2019},
publisher={Preprints}
}
Expand Down Expand Up @@ -73,7 +73,7 @@ @article{bhogapurapu2021polsar
}
@article{dey2021synergistic,
title={Synergistic use of TanDEM-X and landsat-8 data for crop-type classification and monitoring},
author={Dey, Subhadip and Chaudhuri, Ushasi and Bhogapurapu, Narayanarao and Lopez-Sanchez, Juan M and Banerjee, Biplab and Bhattacharya, Avik and Mandal, Dipankar and Rao, Yalamanchili Subrahmanyeswara},
author={Dey, Subhadip and Chaudhuri, Ushasi and Bhogapurapu, Narayanarao and Lopez-Sanchez, Juan M and Banerjee, Biplab and Bhattacharya, Avik and Mandal, Dipankar and Rao, YS},
journal={IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing},
volume={14},
pages={8744--8760},
Expand All @@ -91,7 +91,7 @@ @inproceedings{bhogapurapu2020study

@article{bhogapurapu2022soil,
title={Soil permittivity estimation over croplands using full and compact polarimetric SAR data},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Bhattacharya, Avik and L{\'o}pez-Mart{\'\i}nez, Carlos and Hajnsek, Irena and Rao, Yalamanchili S},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Bhattacharya, Avik and Lopez-Martinez, Carlos and Hajnsek, Irena and Rao, YS},
journal={IEEE Transactions on Geoscience and Remote Sensing},
volume={60},
pages={1--17},
Expand All @@ -100,7 +100,7 @@ @article{bhogapurapu2022soil
}
@inproceedings{verma2021dual,
title={Dual polarimetric SAR signature for human-made target characterization},
author={Verma, Abhinav and Dey, Subhadip and Bhogapurapu, Narayanarao and L{\'o}pez-Mart{\'\i}nez, Carlos and Bhattacharya, Avik},
author={Verma, Abhinav and Dey, Subhadip and Bhogapurapu, Narayanarao and Lopez-Martinez, Carlos and Bhattacharya, Avik},
booktitle={2021 IEEE International India Geoscience and Remote Sensing Symposium (InGARSS)},
pages={520--523},
year={2021},
Expand Down Expand Up @@ -140,7 +140,7 @@ @inproceedings{dey2021built
}
@inproceedings{mandai2020vegetation,
title={Vegetation Monitoring Using a New Dual-Pol Radar Vegetation Index: A Preliminary Study with Simulated NASA-ISRO SAR (NISAR) L-Band Data},
author={Mandal, Dipankar and Bhogapurapu, Narayanarao and Kumar, Vineet and Dey, Subhadip and Ratha, Debanshu and Bhattacharya, Avik and Loper-Sanchez, Juan M and McNairn, Heather and Rao, YS},
author={Mandal, Dipankar and Bhogapurapu, Narayanarao and Kumar, Vineet and Dey, Subhadip and Ratha, Debanshu and Bhattacharya, Avik and Lopez-Sanchez, Juan M and McNairn, Heather and Rao, YS},
booktitle={IGARSS 2020-2020 IEEE International Geoscience and Remote Sensing Symposium},
pages={4870--4873},
year={2020},
Expand All @@ -165,23 +165,23 @@ @article{dey2024soil
}
@inproceedings{bhogapurapu2022temporal,
title={Temporal analysis of C-band InSAR decorrelation for canopy height mapping over dry forests and tropical savannas},
author={Bhogapurapu, Narayanarao and Siqueira, Paul and Armston, John David and Li, Xiaoxuan and Wessels, Konrad and Duncanson, Laura},
author={Bhogapurapu, Narayanarao and Siqueira, Paul and Armston, John and Li, Xiaoxuan and Wessels, Konrad and Duncanson, Laura},
booktitle={AGU Fall Meeting Abstracts},
volume={2022},
pages={B22G--1519},
year={2022}
}
@inproceedings{bhogapurapu2022soil,
title={Soil permittivity estimation over croplands using polsar data},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Bhattacharya, Avik and L{\'o}pez-Mart{\'\i}nez, Carlos and Hajnsek, Irena and Rao, YS},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Bhattacharya, Avik and Lopez-Martinez, Carlos and Hajnsek, Irena and Rao, YS},
booktitle={IGARSS 2022-2022 IEEE International Geoscience and Remote Sensing Symposium},
pages={8000--8003},
year={2022},
organization={IEEE}
}
@inproceedings{bhogapurapu2021crop,
title={Crop Growth Assessment Using Sentinel-1 GRD SAR Descriptors},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Verma, Abhinav and Bhattacharya, Avik and L{\'o}pez-Mar{\'\i}tnez, Carlos and Pankajakshan, Praveen},
author={Bhogapurapu, Narayanarao and Dey, Subhadip and Verma, Abhinav and Bhattacharya, Avik and Lopez-Martinez, Carlos and Pankajakshan, Praveen},
booktitle={2021 IEEE International India Geoscience and Remote Sensing Symposium (InGARSS)},
pages={545--548},
year={2021},
Expand Down Expand Up @@ -235,7 +235,7 @@ @inproceedings{roy2023estimation
}
@inproceedings{bhogapurapu2023forest,
title={Forest canopy height estimation using C-and L-band InSAR coherence over savannas and dry forests},
author={Bhogapurapu, Narayanarao and Siqueira, Paul Robert and Armston, John David and Urbazaev, Mikhail and Li, Xiaoxuan and Wessels, Konrad and Duncanson, Laura},
author={Bhogapurapu, Narayanarao and Siqueira, Paul and Armston, John and Urbazaev, Mikhail and Li, Xiaoxuan and Wessels, Konrad and Duncanson, Laura},
booktitle={AGU Fall Meeting Abstracts},
volume={2023},
number={894},
Expand All @@ -244,7 +244,7 @@ @inproceedings{bhogapurapu2023forest
}
@inproceedings{urbazaev2023improving,
title={Improving the applicability of canopy structure measurements from GEDI and ICESat-2 to global savannas},
author={Urbazaev, Mikhail and Armston, John David and Li, Xiaoxuan and Wessels, Konrad J and Duncanson, Laura and Bhogapurapu, Narayanarao and Siqueira, Paul},
author={Urbazaev, Mikhail and Armston, John and Li, Xiaoxuan and Wessels, Konrad and Duncanson, Laura and Bhogapurapu, Narayanarao and Siqueira, Paul},
booktitle={AGU Fall Meeting Abstracts},
volume={2023},
number={1899},
Expand All @@ -253,7 +253,7 @@ @inproceedings{urbazaev2023improving
}
@inproceedings{bhogapurapu2023forest,
title={Forest biomass and soil moisture estimation using multi-temporal SAR data over the great slave lake region},
author={Bhogapurapu, Narayanarao and Siqueira, Paul Robert and Battaglia, Michael and Bourgeau-Chavez, Laura L},
author={Bhogapurapu, Narayanarao and Siqueira, Paul and Battaglia, Michael and Bourgeau-Chavez, Laura L},
booktitle={AGU Fall Meeting Abstracts},
volume={2023},
number={893},
Expand Down Expand Up @@ -317,7 +317,7 @@ @inproceedings{bhogapurapu2022scattering
}
@inproceedings{dey2021simultaneous,
title={Simultaneous Evaluation Of The Target Scattering-Type Parameter And Scattering Power Components From Polarimetric SAR Images},
author={Dey, Subhadip and Bhogapurapu, Narayanarao and Verma, Abhinav and Homayouni, Saeid and L{\'o}pez-Mart{\'\i}nez, Carlos and Bhattacharya, Avik},
author={Dey, Subhadip and Bhogapurapu, Narayanarao and Verma, Abhinav and Homayouni, Saeid and Lopez-Martinez, Carlos and Bhattacharya, Avik},
booktitle={2021 IEEE International India Geoscience and Remote Sensing Symposium (InGARSS)},
pages={537--540},
year={2021},
Expand Down
2 changes: 1 addition & 1 deletion assets/js/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var myChart = new Chart(ctx, {
labels: [ "2020", "2021", "2022","2023", "2024"],
datasets: [{
label: '# citations',
data: [4, 30, 68, 95, 100],
data: [4, 30, 68, 95, 104],
backgroundColor: [
// 'rgba(255, 99, 132, 0.2)',
'rgba(54, 162, 235, 0.2)',
Expand Down
25 changes: 17 additions & 8 deletions assets/js/chordDiagram.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
document.addEventListener("DOMContentLoaded", function () {
const width = 700,
height = 700,
maxOuterRadius = Math.min(width, height) * 0.5 - 120;
const width = 600,
height = 600,
maxOuterRadius = Math.min(width, height) * 0.5 - 170;

const chord = d3.chord()
.padAngle(0.05)
Expand Down Expand Up @@ -30,8 +30,8 @@ document.addEventListener("DOMContentLoaded", function () {
const authors = data.authors;

const numAuthors = authors.length;
const outerRadius = Math.min(maxOuterRadius, numAuthors * 15); // Adjust scale accordingly
const innerRadius = outerRadius - 30;
const outerRadius = Math.min(maxOuterRadius, numAuthors * 20); // Adjust scale accordingly
const innerRadius = outerRadius - 20;

const chords = chord(matrix);

Expand All @@ -58,7 +58,7 @@ document.addEventListener("DOMContentLoaded", function () {
.each(d => { d.angle = (d.startAngle + d.endAngle) / 2; })
.attr("dy", ".35em")
.attr("transform", d => {
const translateDistance = outerRadius + 10; // Distance from center for text
const translateDistance = outerRadius + 5; // Distance from center for text
return `
rotate(${(d.angle * 180 / Math.PI - 90)})
translate(${translateDistance})
Expand All @@ -69,7 +69,7 @@ document.addEventListener("DOMContentLoaded", function () {
.text(d => {
// Adjust name length based on outer radius
const name = authors[d.index];
const maxLength = Math.floor(outerRadius / 10); // Determine max characters
const maxLength = Math.floor(outerRadius / 4); // Determine max characters
return name.length > maxLength ? name.slice(0, maxLength) + '...' : name; // Truncate if too long
})
.style("font-size", "13px") // Fixed font size
Expand All @@ -89,6 +89,7 @@ document.addEventListener("DOMContentLoaded", function () {

// Fade effect for hover interaction
function fade(group, isHovered) {
console.log('fade group:', group); // Log the group object
if (!group || !group.index) {
throw new Error("Invalid group object passed to fade function");
}
Expand All @@ -97,7 +98,15 @@ document.addEventListener("DOMContentLoaded", function () {

ribbons
.classed("glow", d => isHovered && (d?.source?.index === index || d?.target?.index === index) && index !== 0)
.classed("fade", d => isHovered && d?.source?.index !== index && d?.target?.index !== index && d?.source?.index !== group.source.index && d?.target?.index !== group.target.index);
// .classed("fade", d => isHovered && d?.source?.index !== index && d?.target?.index !== index && d?.source?.index !== group.source.index && d?.target?.index !== group.target.index);
.classed("fade", d => isHovered && d.source.index !== index && d.target.index !== index && d.source.index !== group.source.index && d.target.index !== group.target.index);

// Fade out unrelated ribbons
// Highlight ribbons connected to the hovered author
// ribbons
// .classed("glow", d => isHovered && (d.source.index === index || d.target.index === index))
// .classed("fade", d => isHovered && !(d.source.index === index || d.target.index === index));


svg.selectAll("path")
.filter((d, i) => i !== index)
Expand Down
Loading

0 comments on commit 9c45e80

Please sign in to comment.