{"id":11645,"date":"2018-11-28T14:51:34","date_gmt":"2018-11-28T19:51:34","guid":{"rendered":"http:\/\/studentwork.prattsi.org\/infovis\/?p=11645"},"modified":"2019-01-10T23:51:20","modified_gmt":"2019-01-11T04:51:20","slug":"visualizing-us-household-incomes-using-carto","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/labs\/visualizing-us-household-incomes-using-carto\/","title":{"rendered":"Visualizing US Household Incomes using Carto"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11674\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?resize=840%2C561\" alt=\"\" width=\"840\" height=\"561\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?w=4000&amp;ssl=1 4000w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?resize=768%2C513&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?resize=1024%2C684&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/p>\n<h2>Introduction<\/h2>\n<h4><em>The Idea<\/em><\/h4>\n<p>I have always been really fond of maps in general and I never miss out on any opportunity to play around with them. The moment I was introduced to the tool Carto and I was shown its powerful abilities to help visualize geo-spacial\u00a0data, I immediately felt the need to experiment\u00a0with it and explore its set of features. As a graduate student who would soon be looking for jobs, I thought it would be a good idea for a project to analyze US household incomes across various geographical regions and figure out what places pay well, and hence I set out on searching for a good dataset for this topic.<\/p>\n<h4><em>The Inspiration<\/em><\/h4>\n<p>My very first source of inspiration for this project was <strong><a href=\"https:\/\/project.wnyc.org\/median-income-nation\/?#6\/39.563\/-79.299\" target=\"_blank\" rel=\"noopener\">WNYC&#8217;s Median Incomes Across the US<\/a><\/strong>. This visualization displayed how the incomes varied across various regions with the use of a color scale. I was able to clearly differentiate between these regions and I found the use of mouse-hover to display the median income in a box to the top-right, quite useful. The hover box was non-intrusive and would immediately update on changing the pointer location to another region. The color scale, however, did not completely seem intuitive to me, as orange depicted the lowest incomes, green &#8211; about average and blue, the highest. My mental model did not agree with this color mapping for some reason and I always felt the need to look at the scale again.<\/p>\n<div id=\"attachment_11668\" style=\"width: 3840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11668\" class=\"size-full wp-image-11668\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-1-1.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-1-1.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-1-1.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-1-1.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-1-1.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-1-1.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-1-1.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11668\" class=\"wp-caption-text\"><em>WNYC &#8211; Median Income Across the US<\/em><\/p><\/div>\n<p>The next and the most helpful source of inspiration for my project was <a href=\"https:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=1e79439598494713b553f990a4040886\" target=\"_blank\" rel=\"noopener\"><strong>ArcGIS&#8217;s 2012 Median Household Incomes in the United States<\/strong><\/a>. This visualization used a very good color palette to differentiate high median incomes from lower ones, and I could immediately understand it at first glance. I found the use of pop-overs on clicking on a region to display more information, very helpful. These pop-overs not only displayed how many households were within that region for which the median income was generated but also displayed a distribution of the number\u00a0of households across various buckets of income ranges. I also thought that the website&#8217;s use of click-interaction on the map made more sense than a mouse-hover interaction due to a large amount of data that had to be displayed for each region. Furthermore, the bar charts that displayed the distribution of incomes was interactive, which also required the pop-over to be open until the user manually dismissed it.<\/p>\n<div id=\"attachment_11667\" style=\"width: 3840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11667\" class=\"size-full wp-image-11667\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-2-1.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-2-1.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-2-1.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-2-1.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-2-1.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-2-1.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Inspiration-2-1.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11667\" class=\"wp-caption-text\"><em>ArcGIS &#8211; 2012 Median Household Income in the United States<\/em><\/p><\/div>\n<h2>Materials<\/h2>\n<h4><em>Tools<\/em><\/h4>\n<p><strong><a href=\"https:\/\/carto.com\/\" target=\"_blank\" rel=\"noopener\">Carto<\/a><\/strong> \u2013 A Software as a Service (SaaS) platform that provides &#8216;Geographic Information System (GIS)&#8217; and &#8216;Web Mapping&#8217; tools for displaying in a web browser. I used this tool to create my final visualization using geospatial datasets.<\/p>\n<p><strong><a href=\"https:\/\/products.office.com\/en-us\/excel\" target=\"_blank\" rel=\"noopener\">Microsoft Excel<\/a><\/strong>\u00a0\u2013 A spreadsheet software by Microsoft, part of the MS Office suite. I used it for viewing the dataset CSV files and understanding them before plugging them into Carto.<\/p>\n<h4><em>Dataset<\/em><\/h4>\n<p>My primary dataset was found on Kaggle &#8211; <strong><a href=\"https:\/\/www.kaggle.com\/goldenoakresearch\/us-household-income-stats-geo-locations\" target=\"_blank\" rel=\"noopener\">US Household Income Statistics.\u00a0<\/a><\/strong>This consisted of over\u00a032,000 track and geographic household income statistics. This dataset did not require any cleanup as such, but there was some bad data in the counties column, so I decided to ignore it while creating my visualization.<\/p>\n<h2>Process<\/h2>\n<h4><em><strong>Feeding the dataset into Carto<\/strong><\/em><\/h4>\n<p>Although\u00a0the first step would be to upload the acquired dataset into Carto, I wanted to examine the dataset beforehand to understand what all I could leverage for my project. I, therefore, opened it in Microsoft Excel and went through all the columns carefully. Upon inspecting the data, I found that some of the columns were not required, so I simply deleted them in Excel. Finally, I uploaded this modified file to the datasets section in the Carto interface. The first iteration of my visualization came to life once I chose to display data on the map and vary the size by &#8216;mean household income&#8217;. However, the results weren&#8217;t favorable as all I could see was ugly humongous dots all across the map of the United States of America. These points were also of the same color, and there was no way to distinguish between them. This visualization, therefore, needed many improvements in order to make it more usable.<\/p>\n<h4><em><strong>Improving the usability of the visualization<\/strong><\/em><\/h4>\n<p>Firstly, I had to reduce the size of the monstrous blobs on the map and to remedy this I used the size feature and set the minimum size to 1 and maximum to 15 so that there is not too much variance. Furthermore, I also set the number of buckets to 7, so that the range of mean household incomes are split up into more buckets of smaller ranges, hence showing more variation in the different points on the map. I also experimented with colors combinations for the map and the various dots on the map based on mean household income. I found that a good contrast was obtained by using a dark colored map in the background and vibrant blue dots that would stand out. Also, I set the colors of the dots to vary from a very light shade of blue for the lower mean incomes to a darker one for the wealthier. For this again, I used 7 buckets to show more variation, similar to how I had done for the size. These changes really helped improve the usability of the visualization as all the points were clearer and differentiating between them was easier.<\/p>\n<h4><em><strong>Adding Boundary Layers<\/strong><\/em><\/h4>\n<p>The dataset I obtained from Kaggle had household incomes by neighborhood and I wanted to expand the visualization to include a method to compare values by Zip Code, County, and State. To do this, I had to make use of the layers feature of Carto and a kind of dataset known as a &#8216;shapefile&#8217;, that consists of boundaries (Shape) of the geographical regions of interest. I found these shapefiles from the United States Census Bureau &#8211;\u00a0<strong><a href=\"https:\/\/www.census.gov\/geo\/maps-data\/data\/cbf\/cbf_state.html\" target=\"_blank\" rel=\"noopener\">US States<\/a><\/strong>,\u00a0<strong><a href=\"https:\/\/www.census.gov\/geo\/maps-data\/data\/kml\/kml_zcta.html\" target=\"_blank\" rel=\"noopener\">Zip Codes\u00a0<\/a><\/strong>and <strong><a href=\"https:\/\/www.census.gov\/geo\/maps-data\/data\/cbf\/cbf_counties.html\" target=\"_blank\" rel=\"noopener\">Counties<\/a><\/strong>. I added these as layers to the Carto visualization and used the &#8216;aggregation&#8217; method to collect all the data points contained within each of the shapes\/boundaries. For instance, Carto automatically captured all the neighborhoods that came within the New York state boundary and calculated the average of the mean income of all these points. The same process was followed for Zip Code and County boundaries. Finally, I also followed the same color scheme that would vary on the mean of the household incomes over 7 buckets for each of the additional layers. The purpose of maintaining the same color scheme was for the users to easily understand what each color signified without having to rethink or refer to the legend.<\/p>\n<h4><em><strong>Adding interactive pop-overs<\/strong><\/em><\/h4>\n<p>As I was heavily inspired by\u00a0<a href=\"https:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=1e79439598494713b553f990a4040886\" target=\"_blank\" rel=\"noopener\"><strong>ArcGIS&#8217;s 2012 Median Household Incomes in the United States<\/strong><\/a>\u00a0and its detailed pop-overs I decided to add interactivity to my visualization as well. I added an on-click pop-over to every layer so that if the user were to click on a neighborhood point, a zip code, a county or a state in the respective layers, it would open up a pop-over showing more details about that region. I added details like &#8216;State&#8217;, &#8216;City&#8217;, &#8216;Mean Household Income&#8217; etc. which would vary based on the layer selected, so as to make the popovers useful.<\/p>\n<h4><em><strong>Adding legends<\/strong><\/em><\/h4>\n<p>Finally, to have a guide for the users to refer to, I added a legend for each layer which would describe the color variation and also the size variation (applicable only to the Neighborhoods Layer) to describe what they meant for each.<\/p>\n<h2>Results<\/h2>\n<p>View the full-fledged <strong><a href=\"https:\/\/savi.carto.com\/u\/sanchkin\/builder\/08616a4c-e706-4bd9-b37d-33ff352e33bb\/embed\" target=\"_blank\" rel=\"noopener\">US Household Incomes Visualization<\/a><\/strong> in your browser (Carto)<\/p>\n<p>The result of all the above steps and several other tiny tweaks and refinements is as follows, presented layer-wise (Neighborhoods, States, Counties, Zip Codes) &#8211;<\/p>\n<div class=\"tiled-gallery type-rectangular tiled-gallery-unresized\" data-original-width=\"840\" data-carousel-extra='null' itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\" > <div class=\"gallery-row\" style=\"width: 840px; height: 238px;\" data-original-width=\"840\" data-original-height=\"238\" > <div class=\"gallery-group images-1\" style=\"width: 420px; height: 238px;\" data-original-width=\"420\" data-original-height=\"238\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?ssl=1\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"416\"> <meta itemprop=\"height\" content=\"234\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"11787\" data-orig-file=\"https:\/\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png\" data-orig-size=\"3840,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Neighborhoods\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?fit=300%2C169&#038;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?fit=840%2C473&#038;ssl=1\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?w=416&#038;h=234&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Neighborhoods.png?w=2520 2520w\" width=\"416\" height=\"234\" loading=\"lazy\" data-original-width=\"416\" data-original-height=\"234\" itemprop=\"http:\/\/schema.org\/image\" title=\"Neighborhoods\" alt=\"Mean Income by Neighborhood\" style=\"width: 416px; height: 234px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> Mean Income by Neighborhood <\/div> <\/div> <\/div> <!-- close group --> <div class=\"gallery-group images-1\" style=\"width: 420px; height: 238px;\" data-original-width=\"420\" data-original-height=\"238\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?ssl=1\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"416\"> <meta itemprop=\"height\" content=\"234\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"11790\" data-orig-file=\"https:\/\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png\" data-orig-size=\"3840,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"States\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?fit=300%2C169&#038;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?fit=840%2C473&#038;ssl=1\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?w=416&#038;h=234&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?w=2520 2520w\" width=\"416\" height=\"234\" loading=\"lazy\" data-original-width=\"416\" data-original-height=\"234\" itemprop=\"http:\/\/schema.org\/image\" title=\"States\" alt=\"Mean Income by State\" style=\"width: 416px; height: 234px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> Mean Income by State <\/div> <\/div> <\/div> <!-- close group --> <\/div> <!-- close row --> <div class=\"gallery-row\" style=\"width: 840px; height: 238px;\" data-original-width=\"840\" data-original-height=\"238\" > <div class=\"gallery-group images-1\" style=\"width: 420px; height: 238px;\" data-original-width=\"420\" data-original-height=\"238\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?ssl=1\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"416\"> <meta itemprop=\"height\" content=\"234\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"11786\" data-orig-file=\"https:\/\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png\" data-orig-size=\"3840,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Counties\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?fit=300%2C169&#038;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?fit=840%2C473&#038;ssl=1\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?w=416&#038;h=234&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Counties.png?w=2520 2520w\" width=\"416\" height=\"234\" loading=\"lazy\" data-original-width=\"416\" data-original-height=\"234\" itemprop=\"http:\/\/schema.org\/image\" title=\"Counties\" alt=\"Mean Income by County\" style=\"width: 416px; height: 234px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> Mean Income by County <\/div> <\/div> <\/div> <!-- close group --> <div class=\"gallery-group images-1\" style=\"width: 420px; height: 238px;\" data-original-width=\"420\" data-original-height=\"238\" > <div class=\"tiled-gallery-item tiled-gallery-item-large\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\"> <a href=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?ssl=1\" border=\"0\" itemprop=\"url\"> <meta itemprop=\"width\" content=\"416\"> <meta itemprop=\"height\" content=\"234\"> <img decoding=\"async\" class=\"\" data-attachment-id=\"11791\" data-orig-file=\"https:\/\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png\" data-orig-size=\"3840,2160\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Zip Codes\" data-image-description=\"\" data-medium-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?fit=300%2C169&#038;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?fit=840%2C473&#038;ssl=1\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?w=416&#038;h=234&#038;ssl=1\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/Zip-Codes.png?w=2520 2520w\" width=\"416\" height=\"234\" loading=\"lazy\" data-original-width=\"416\" data-original-height=\"234\" itemprop=\"http:\/\/schema.org\/image\" title=\"Zip Codes\" alt=\"Mean Income by Zip Code\" style=\"width: 416px; height: 234px;\" \/> <\/a> <div class=\"tiled-gallery-caption\" itemprop=\"caption description\"> Mean Income by Zip Code <\/div> <\/div> <\/div> <!-- close group --> <\/div> <!-- close row --> <\/div>\n<p>Overall, we can see how the incomes are quite high in the California Bay area, as well as the New York City region. The mid-west is less populous than the East and the West coasts (Can be observed by the\u00a0lower count of points in that region in the &#8216;neighborhoods&#8217; layer) and has a lower mean household income than them. The lowest mean income state is Mississippi with $48,924, while the highest is Connecticut at a whopping $89,509 (Surprisingly, it&#8217;s not California as I had anticipated!). It is interesting to note that both New Jersey and Connecticut have a higher mean income as compared to New York state, which I feel is mostly due to the fact that many people that work in New York City commute from the other two states. Also, the primary contributor to the mean income of New York State is New York City, while the rest of the state is quite sparsely populated, with a lower overall contribution.<\/p>\n<div id=\"attachment_11790\" style=\"width: 3840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11790\" class=\"size-full wp-image-11790\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/States.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11790\" class=\"wp-caption-text\"><em>Mean Household Income by State<\/em><\/p><\/div>\n<p>If we were to zoom in to the New York City area, we can see how the incomes vary between the five Burrows and their surrounding areas. It is evident that Manhattan has a much higher mean\u00a0household income than Queens and Brooklyn. But it can also be seen that some parts of Brooklyn like Dumbo and Brooklyn Heights also have high mean incomes, very much comparable to that of Manhattan. It is also interesting to see how the East Village side of Manhattan is lower on the income as compared to the rest of it, and heading North towards the Bronx also drastically pulls down the mean incomes. Similar to the New York City area, we may make use of the visualization to zoom in to any other point of interest on the map of the US and compare the incomes.<\/p>\n<div id=\"attachment_11789\" style=\"width: 3840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11789\" class=\"wp-image-11789 size-full\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11789\" class=\"wp-caption-text\"><em>New York City Area &#8211; Mean Household Income<\/em><\/p><\/div>\n<div id=\"attachment_11788\" style=\"width: 3840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11788\" class=\"wp-image-11788 size-full\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup-with-popover.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup-with-popover.png?w=3840&amp;ssl=1 3840w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup-with-popover.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup-with-popover.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup-with-popover.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup-with-popover.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/NYC-Closeup-with-popover.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-11788\" class=\"wp-caption-text\"><em>Manhattan &#8211; Mean household income of a neighborhood in Midtown<\/em><\/p><\/div>\n<p>You may also view the full-fledged <strong><a href=\"https:\/\/savi.carto.com\/u\/sanchkin\/builder\/08616a4c-e706-4bd9-b37d-33ff352e33bb\/embed\" target=\"_blank\" rel=\"noopener\">US Household Incomes Visualization<\/a><\/strong> in your browser (Carto).<\/p>\n<h2>Reflection &amp; Future Direction<\/h2>\n<p>Carto has become my favorite geo-spacial data visualization tool ever since I started exploring it and worked on this project. I love how easy to use the interface is and I am particularly fond of the many features it offers.<\/p>\n<p>However, there are a few pain points I experienced while using it. One of them that I feel is worth mentioning was the lack of the ability to set the layer selector to show just one layer at a time. My visualization&#8217;s main purpose was to allow users to compare household incomes by neighborhood, zip code, county,\u00a0and state, and the only way this is possible is to isolate these as their individual visualizations. Having any two or more layers overlap would not make any sense and completely defeat the purpose of the visualization. Therefore, having only a single layer selected at a time was very important, and without this feature, users need to manually select a new layer and deselect the previous layer to make complete sense of the visualization. Hopefully, Carto adds this feature in any upcoming versions.<\/p>\n<p>Overall though, I feel that my project allowed me to get a good idea about how the household incomes vary across states, counties, zip codes and neighborhoods. For the future, I believe it would be a great idea to find a dataset about the cost of living index of each region so that I can use it along with the household income and figure out how wealthy (or not) they are.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The Idea I have always been really fond of maps in general and I never miss out on any opportunity to play around with them. The moment I was introduced to the tool Carto and I was shown its powerful abilities to help visualize geo-spacial\u00a0data, I immediately felt the need to experiment\u00a0with it and&hellip;<\/p>\n","protected":false},"author":512,"featured_media":11674,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[149,341],"tags":[111,35,294,212,293],"coauthors":[353],"class_list":["post-11645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-labs","category-maps","tag-carto","tag-cartography","tag-household-income","tag-income","tag-usa"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/11\/rawpixel-741658-unsplash.jpg?fit=4000%2C2670&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-31P","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/users\/512"}],"replies":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/comments?post=11645"}],"version-history":[{"count":10,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11645\/revisions"}],"predecessor-version":[{"id":11794,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/11645\/revisions\/11794"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/11674"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=11645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=11645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=11645"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=11645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}