{"id":10756,"date":"2018-10-10T10:47:09","date_gmt":"2018-10-10T14:47:09","guid":{"rendered":"http:\/\/studentwork.prattsi.org\/infovis\/?p=10756"},"modified":"2019-01-10T23:58:24","modified_gmt":"2019-01-11T04:58:24","slug":"defacement-crime-in-new-york-city-year-2014-to-2018","status":"publish","type":"post","link":"https:\/\/studentwork.prattsi.org\/infovis\/labs\/defacement-crime-in-new-york-city-year-2014-to-2018\/","title":{"rendered":"Defacement Crime in New York City (Year 2014 to 2018)"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<h4><em>The Idea<\/em><\/h4>\n<p>When I first came to New York from India in 2017, I noticed several graffitied buildings throughout the city. I had never seen anything quite like that before, and I had several questions racing through my mind \u2013 \u201cWho would do this?\u201d, \u201cWhy would they want to deface someone\u2019s property?\u201d, \u201cHow does the police deal with this situation?\u201d.<\/p>\n<p>A year later, while working on searching for datasets for the Information Visualization Lab, I came across \u2018Encroachments and Defacements\u2019 dataset hosted on \u2018NYC OpenData\u2019. I was immediately interested in visualizing various aspects of defacement crimes in New York City over time and hence selected this dataset for my lab.<\/p>\n<div id=\"attachment_10882\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10882\" class=\"wp-image-10882 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/jon-tyson-334747-unsplash.jpg?resize=840%2C594\" alt=\"\" width=\"840\" height=\"594\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/jon-tyson-334747-unsplash.jpg?resize=1024%2C724&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/jon-tyson-334747-unsplash.jpg?resize=300%2C212&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/jon-tyson-334747-unsplash.jpg?resize=768%2C543&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/jon-tyson-334747-unsplash.jpg?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/jon-tyson-334747-unsplash.jpg?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10882\" class=\"wp-caption-text\"><em>Source: https:\/\/unsplash.com\/photos\/HxwdZ7vLwaY<\/em><\/p><\/div>\n<h4><em>The Inspiration<\/em><\/h4>\n<p>Since my dataset was that of crime reports, I began searching for crime data visualization examples. I found a great <strong><a href=\"https:\/\/www.nytimes.com\/interactive\/projects\/crime\/homicides\/map\" target=\"_blank\" rel=\"noopener\">New York Times\u2019 article<\/a><\/strong> (works only on Internet Explorer), which displayed visualizations of homicides in New York City between the years 2003 and 2011. A great feature for users was that the visualization displayed the crime data in the form of a timeline, where the year could be selected to see the crimes committed in that timeframe. Users could also see the data for all years at once, which was great. Another thing I really found interesting about this visualization was the fact that I could see the crime for each of New York City\u2019s boroughs. They had used different shades of blue to represent the various boroughs, but one thing I didn\u2019t like was the fact that the shades of blue were too similar to easily differentiate between them. I had to look very carefully to make out the difference.<\/p>\n<div id=\"attachment_10876\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10876\" class=\"wp-image-10876 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/New-York-Times.png?resize=840%2C493\" alt=\"\" width=\"840\" height=\"493\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/New-York-Times.png?resize=1024%2C601&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/New-York-Times.png?resize=300%2C176&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/New-York-Times.png?resize=768%2C450&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/New-York-Times.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/New-York-Times.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10876\" class=\"wp-caption-text\"><em>Source: https:\/\/www.nytimes.com\/interactive\/projects\/crime\/homicides\/map<\/em><\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Another example that drove my design decisions was an <strong><a href=\"https:\/\/maps.nyc.gov\/crime\/\" target=\"_blank\" rel=\"noopener\">NYC.gov<\/a><\/strong> website that displayed various crime maps. It had many filters based on \u2018Crime Type\u2019 and \u2018Date Range\u2019 which was great for users that might want to isolate the data. The markers on the map varied in size based on the number of crimes in a neighborhood, and they helped effectively describe the count visually for users.<\/p>\n<div id=\"attachment_10877\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10877\" class=\"wp-image-10877 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/NYC-Crime-Map.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/NYC-Crime-Map.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/NYC-Crime-Map.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/NYC-Crime-Map.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/NYC-Crime-Map.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/NYC-Crime-Map.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10877\" class=\"wp-caption-text\"><em>Source: https:\/\/maps.nyc.gov\/crime\/<\/em><\/p><\/div>\n<p>&nbsp;<\/p>\n<p>Finally, I also found a series of visualizations very interesting from <strong><a href=\"https:\/\/www.statista.com\/statistics\/191219\/reported-violent-crime-rate-in-the-usa-since-1990\/\" target=\"_blank\" rel=\"noopener\">Statista.com<\/a><\/strong>, which had made use of bar and line charts to depict the timeline of various kinds of crimes in the US. I thought that it was an effective approach for highlighting the rise or fall of crimes from year to year for users. This would also enable users to compare data side by side quickly and easily.<\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<div id=\"attachment_10878\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10878\" class=\"wp-image-10878 size-large\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Statista.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Statista.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Statista.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Statista.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Statista.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Statista.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10878\" class=\"wp-caption-text\"><em>Source: https:\/\/www.statista.com\/statistics\/191219\/reported-violent-crime-rate-in-the-usa-since-1990\/<\/em><\/p><\/div>\n<h2><strong>Materials<\/strong><\/h2>\n<h4><em>Tools<\/em> \u2013<\/h4>\n<p><a href=\"https:\/\/products.office.com\/en-us\/excel\" target=\"_blank\" rel=\"noopener\"><strong>Microsoft Excel<\/strong><\/a> \u2013 A spreadsheet software by Microsoft, part of the MS Office suite.<\/p>\n<p><a href=\"http:\/\/openrefine.org\/\" target=\"_blank\" rel=\"noopener\"><strong>OpenRefine<\/strong><\/a> \u2013 A tool for working with messy data, which helps in cleaning it up quickly and effectively.<\/p>\n<p><a href=\"https:\/\/public.tableau.com\/en-us\/s\/\" target=\"_blank\" rel=\"noopener\"><strong>Tableau Public<\/strong><\/a> \u2013 A free to use data visualization software, which has many visualization techniques built into it.<\/p>\n<h4><em>Dataset<\/em> \u2013<\/h4>\n<p>The dataset I used for my lab is \u2018<strong><a href=\"https:\/\/data.cityofnewyork.us\/Transportation\/Encroachments-and-Defacements\/kyvb-rbwd\" target=\"_blank\" rel=\"noopener\">Encroachments and Defacements<\/a><\/strong>\u2019, which I found while browsing through datasets on <a href=\"https:\/\/opendata.cityofnewyork.us\/\" target=\"_blank\" rel=\"noopener\"><strong>NYC OpenData<\/strong><\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Process<\/strong><\/h2>\n<h4><em>Cleaning up the data<\/em><\/h4>\n<p>After I had selected the dataset, I started off with cleaning up the data to make it usable and ready for analysis. I used the OpenRefine tool to upload the CSV dataset (obtained from NYC OpenData) and made improvements to its raw form. Many of the dates were in different formats and hence I had to bring uniformity to it. Even the datatype needed to be transformed from \u2018text\u2019 to \u2018date\u2019. I also had to add a facet for getting the data only for \u2018Defacement\u2019 crimes, as the set also included data for \u2018Abandonment\u2019, \u2018Encroachment\u2019 and \u2018ATM\u2018, which I didn\u2019t include in the scope of this project. I also transformed many of the number cells\u2019 datatype from \u2018text\u2019 to \u2018number\u2019.<\/p>\n<h4><em>Transferring the data into Tableau<\/em><\/h4>\n<p>After the data was clean and ready for analysis, I exported the data from OpenRefine as an Excel file for importing into Tableau. However, I encountered an error in the OpenRefine console and, therefore, had to export as a CSV instead of Excel. The workaround was to open the refined CSV in Microsoft Excel and then use its \u2018export\u2019 feature to convert it to Excel format. I was, hence, finally able to import the data into Tableau.<\/p>\n<h4><em>Analyzing the data + Creating Visualizations<\/em><\/h4>\n<p>After loading the data into Tableau, I first started off by trying to create a visualization for the number of reported defacement crimes per year, for each borough. I chose the line chart visualization since it is great for showcasing time series data and immediately, the difference in the number of reported crimes between boroughs was evident. However, I noticed that the line chart had values for the year 2018 as well (since the data for 2018 was present in the dataset). But since 2018 is the current year and still in progress, the data for this year wasn\u2019t complete. It, hence, did not make sense to include this year, and I added an exclusion for it.<\/p>\n<p>It was also important to understand how much time the police took to resolve these reported issues. To understand this for each borough and each year, I had to create a calculated field that would be the difference between the initial crime report date and the closing date columns. This difference would give me the resolution time as it would give the number of days between when the crime was reported and when the case was closed. After creating this calculated field, I added the average function on these values for each year per borough and put it against year on the x-axis to form a line chart. Yet again, I selected the line chart as it is very effective for visualizing and comparing time series data. As opposed to the previous visualization, I did not exclude the year 2018 in this case, as an average value will not vary significantly for the rest of the year.<\/p>\n<p>Finally, I was most excited about the geo-data that was available in the dataset, and I proceeded with creating a bubble map visualization of the defacement crimes. I used the latitudes and longitude coordinates to plot the points on the map for each crime report. I color-coded the points using an accessible color palette on the map for each borough, to make it easy to understand the difference in their borders for all users. Another great aspect was that the size of the points was bigger for more crime reports in the same neighborhood over the years, which could help users understand the magnitude of crimes in a region. I added filters for the year so that users could isolate the data for each year as well.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Results<\/strong><\/h2>\n<h4><em>Please access tableau project \u2013\u00a0<\/em><a href=\"https:\/\/public.tableau.com\/views\/DefacementCrimeinNYC\/DefacementCrimeinNYC2014-2018?:embed=y&amp;:display_count=yes&amp;publish=yes\" target=\"_blank\" rel=\"noopener\">Defacement Crime in NYC (Year 2014 to 2018)<\/a><\/h4>\n<div id=\"attachment_10875\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10875\" class=\"size-large wp-image-10875\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Dash.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Dash.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Dash.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Dash.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Dash.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Dash.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10875\" class=\"wp-caption-text\"><em>Dashboard &#8211; Defacement Crime in New York City<\/em><\/p><\/div>\n<p>From this visualization, I hope to make viewers aware of how defacement crime has changed over the years, and how efficiently the police is taking care of these problems. I also hope to make users understand the difference in the crime rate and resolution time upon moving from borough to borough.<\/p>\n<p>&nbsp;<\/p>\n<h4><em>Visualization 1: Number of Defacement Crimes Reported in NYC <\/em><\/h4>\n<div id=\"attachment_10879\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10879\" class=\"size-large wp-image-10879\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/viz-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\/10\/viz-1.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/viz-1.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/viz-1.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/viz-1.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/viz-1.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10879\" class=\"wp-caption-text\"><em>Number of Defacement Crimes Reported in NYC (2014 to 2017)<\/em><\/p><\/div>\n<p>It is interesting to see how the Bronx and Brooklyn have steadily increasing defacement crime rates since 2014. Best effort observed is in the Bronx, the average resolution time of which, dropped to less than half of what was observed in 2014.<\/p>\n<p>The highest rate is observed in Queens in 2016, which is significantly higher than all other boroughs in that year, but it steeply drops below that of Brooklyn in 2017.<\/p>\n<p>Manhattan also peaks above the Bronx in 2016 but is still on the lower side overall. Manhattan also sees a trend similar to Queens, with the peak in 2016 and a steep drop in 2017.<\/p>\n<p>Brooklyn emerges as the top defacement target in 2017, closely followed by the Queens. Next in line in 2017 are Bronx, Manhattan and Staten Island. Staten Island has the lowest defacement rate and has maintained it quite steadily between 2013 and 2017.<\/p>\n<p><em>\u00a0<\/em><\/p>\n<h4><em>Visualization 2: Average Resolution Time for Defacement Crimes in NYC<\/em><\/h4>\n<div id=\"attachment_10880\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10880\" class=\"size-large wp-image-10880\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-2.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-2.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-2.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-2.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-2.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-2.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10880\" class=\"wp-caption-text\"><em>Average Resolution Time for Defacement Crimes in NYC (2014 to 2018)<\/em><\/p><\/div>\n<p>The police have been making a solid effort in lowering the resolution time for defacement crimes in New York City.<\/p>\n<p>The Bronx and Brooklyn saw their best year in terms of resolution time in 2016, while Manhattan and Staten Island are currently (2018) in their best year.<\/p>\n<p>Brooklyn has been seeing regular ups and downs in its average resolution time between 2013 and 2018, however, currently, it is extremely close to its best year in 2016.<\/p>\n<p>In 2018, Brooklyn, Queens and the Bronx even out on their resolution times, with Manhattan better off by around 10 days, and Staten Island, emerging the best by around 10 days lower than Manhattan.<\/p>\n<p><em>\u00a0<\/em><\/p>\n<h4><em>Visualizations 3: Defacement Crime Map of NYC<\/em><\/h4>\n<div id=\"attachment_10881\" style=\"width: 840px\" class=\"wp-caption aligncenter\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-10881\" class=\"size-large wp-image-10881\" src=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-3.png?resize=840%2C473\" alt=\"\" width=\"840\" height=\"473\" srcset=\"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-3.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-3.png?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-3.png?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-3.png?w=1680 1680w, https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/Viz-3.png?w=2520 2520w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><p id=\"caption-attachment-10881\" class=\"wp-caption-text\"><em>Defacement Crime Map of NYC (2014 to 2018)<\/em><\/p><\/div>\n<p>It is very interesting to see how the crimes are spread across the city and its boroughs. Certain neighborhoods that are worst affected over the years can easily be identified by looking at the size of the marker. For instance, West, 15<sup>th<\/sup> Street in Brooklyn is the worst affected overall with 3360 defacement reports over the years. 91 Avenue in Queens is next in the worst affected neighborhoods with 1350 crime reports, which is still significantly lower than Brooklyn.<\/p>\n<p>Close to JFK Airport, streets 113 through 130 in Queens seem quite badly affected with several markers spread across.<\/p>\n<p>Manhattan\u2019s Upper East Side seems to be its worst affected part with a dense scatter of defacement crime markers.<\/p>\n<p>The Bronx and Brooklyn are overall quite evenly affected throughout. Staten Island emerges as the cleanest borough with scarcely scattered markers.<\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<h2><strong>Reflection &amp; Future Directions<\/strong><\/h2>\n<p>Learning Tableau has been a great journey so far, and I was amazed at the ability of the tool to create beautiful visualizations out of raw data. I also loved the fact that there was a color-blind friendly palette to make visualizations more accessible.<\/p>\n<p>I also learned that data can be messy, and the cleanup process is not always a one-time activity. A need to further clean up the data can crop up any time during the analysis and visualization phases as well. For instance, I noticed bad data for the year 2013 during the visualization phase. While it was easy to exclude it from the visualization in the line charts, it could not be done in case of the map visualization. I had opted to show the year filter for users and Tableau did not allow me to hide the year \u20182013\u2019 from the list, even though it let me exclude the data from the visualization. This was making it confusing, as there was no data for 2013 to be visualized, but the filter still showed the year 2013. I, therefore, had to clean up the excel sheet (remove bad data for 2013) and refresh the dataset into Tableau.<\/p>\n<p>While searching for crime data on the NYC OpenData website, I found several datasets for various other crimes, and I feel it would be great to explore those for any future projects. I would also like to try and look for other sources that help me find data for the entire United States of America, and it would be extremely interesting to see how the other states are doing compared to New York.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>References<\/strong><\/h2>\n<ul>\n<li>Few, &#8220;Effectively Communicating Numbers: Selecting the Best Means and Manner of Display&#8221;<\/li>\n<li><a href=\"https:\/\/www.data-to-viz.com\/graph\/line.html\" target=\"_blank\" rel=\"noopener\"><strong>From Data to Viz \u2013 Line Charts<\/strong><\/a><\/li>\n<li><strong><a href=\"https:\/\/www.data-to-viz.com\/graph\/bubblemap.html\" target=\"_blank\" rel=\"noopener\">From Data to Viz \u2013 Bubble Map<\/a><\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The Idea When I first came to New York from India in 2017, I noticed several graffitied buildings throughout the city. I had never seen anything quite like that before, and I had several questions racing through my mind \u2013 \u201cWho would do this?\u201d, \u201cWhy would they want to deface someone\u2019s property?\u201d, \u201cHow does&hellip;<\/p>\n","protected":false},"author":512,"featured_media":10877,"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":[340,149],"tags":[216,134,261,28],"coauthors":[353],"class_list":["post-10756","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-charts","category-labs","tag-boroughs","tag-crime","tag-defacement","tag-new-york-city"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/studentwork.prattsi.org\/infovis\/wp-content\/uploads\/sites\/3\/2018\/10\/NYC-Crime-Map.png?fit=3840%2C2160&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paBdcV-2Nu","_links":{"self":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/10756","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=10756"}],"version-history":[{"count":10,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/10756\/revisions"}],"predecessor-version":[{"id":10895,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/posts\/10756\/revisions\/10895"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media\/10877"}],"wp:attachment":[{"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/media?parent=10756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/categories?post=10756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/tags?post=10756"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/studentwork.prattsi.org\/infovis\/wp-json\/wp\/v2\/coauthors?post=10756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}