From d130442eac1f5b2d2bdebebe2006d295ffa55b62 Mon Sep 17 00:00:00 2001 From: Alice Shao Date: Thu, 11 Jan 2024 23:17:04 -0500 Subject: [PATCH 1/2] additional --- .DS_Store | Bin 0 -> 8196 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..f3557a7edb90057523c163c87cc6afe072e5d8c2 GIT binary patch literal 8196 zcmeHMPmdBY6o1{tWpFjYM6+B>Ch^K5i(oWf5O)tAyevi!YLH<@n01&EW)KY_;i`TI zzk)~oBz_l9`s*LonL$i8CL7)DBkix#zSq*SR7*iwgag9H*4WgzP>2=?Q>H*=%5;dqlsW2ct=H7JP^ip_>EMIu zk(rKAm>eDb+ftoaQ=!QX1BQWB2E=x`L_M0&7@uVP{)+g+fcKn$JJ1n&_mL_;q@YA} zh5E1ysY3&x0}P0xj#Gt>XoTMS=^og1Sba+La8ceAxX^qHn*r_)h7_c2=re4RqwZkD zE;N0NBT5188zTM9eb_JOFhX0OymW8!8~jCY&NLcnM!qnf;^&8vR%w5>ZTX}2S zdeI*6X*=%5lc?1lKNC-nIS-s=x$8Xfy=kX-^#Kp#t{-}1Y2dpaRGvTeLzhomd=k2m zv~8;ft6&v6#huw~uU@umjmEre&+gW$WxIas_IzHjuHCqK@38Ya7>4}4@C?pBeNNJ4 z^?aOvK(3J}iZ`1)qtPwhRAx@Xs*gosZB-dS^vH!T;A& z=f5rF}=fX z@F+^_%6*&Mbt&BhqyO=WPE9GfUQ-Pjmh)h2igP5Et8tuRO`JPP*6?V=FmQ$#*i>^V ziTM9u{r&$Lnz5ORVZbnuWq{@O+xsolE`Kv-6-2CUBfUftBJ>str3o?_jss;l4m|$D g5M>*x!ltQlp%68YQ@;rK^=s6;|D^{^b{-k{39YtjNdN!< literal 0 HcmV?d00001 From 530b8a94f8f5e591dfaf73bb0a31a69220e46e48 Mon Sep 17 00:00:00 2001 From: Alice Shao Date: Thu, 11 Jan 2024 23:56:30 -0500 Subject: [PATCH 2/2] make source for gallop poll hyperlinked text --- national-sentiment-page/index.html | 3 --- national-sentiment-page/script.js | 13 ++++++++++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/national-sentiment-page/index.html b/national-sentiment-page/index.html index 9a9b090..3d23b47 100644 --- a/national-sentiment-page/index.html +++ b/national-sentiment-page/index.html @@ -58,11 +58,8 @@

National Sentiment Around Gun Control Legislation

Overall, while media and news may have high coverage of school shootings initially, these events do not appear to impact opinions surrounding gun control in the long-run. -

-
- diff --git a/national-sentiment-page/script.js b/national-sentiment-page/script.js index 1f3f5f7..746f6d4 100644 --- a/national-sentiment-page/script.js +++ b/national-sentiment-page/script.js @@ -79,7 +79,18 @@ d3.csv("images/cleaned_table_1.csv").then(function (data) { .attr("y", height + margin.bottom / 2) .attr("text-anchor", "left") .style("font-size", "10px") - .text("Source: Gallup Poll; Created by Alice Shao with the help of ChatGPT"); + .style("font-color", "blue") + .html("Source: Gallup Poll" ); + + svg.append("text") + .attr("x", margin.left) + .attr("y", height + margin.bottom / 2 + 15) // Adjust the y-coordinate for proper spacing + .attr("text-anchor", "left") + .style("font-size", "10px") + .text("Created by Alice Shao with the help of ChatGPT"); + + svg.append("style") + .text(".blue-link { fill: blue; text-decoration: underline; }"); // Add X and Y axes