The Code4Lib Journal – The Brooklyn Health Map: Reflections on a Health Data Dashboard for Brooklyn, NY Mission Editorial Committee Process and Structure Code4Lib Issue 56, 2023-04-21 The Brooklyn Health Map: Reflections on a Health Data Dashboard for Brooklyn, NY Recent years have put a spotlight on the importance of searchers of all kinds being able to quickly and easily find relevant, timely, and useful health information. This article provides a general overview of the process used when creating the Brooklyn Health Map, an interactive Brooklyn-based health data dashboard that visualizes community health information at the census tract, zip code, and neighborhood levels. Built using HTML, CSS, Bootstrap, and JavaScript, the Brooklyn Health Map presents information in the form of interactive web maps, customizable graphs, and local level data summaries. This article also highlights the tools used to simplify the creation of various dynamic features of the dashboard. by Sheena Philogene Introduction As a librarian at Brooklyn College, I have found that patrons often want to do local research focused on Brooklyn. However, it can be difficult for both students and faculty to find the right sources for the local level information they need quickly or easily. With that user need in mind, the idea of the Brooklyn Health Map (BHM) was born. This article provides an overview of the tools used when creating the Brooklyn Health Map, an interactive Brooklyn-based health data dashboard that visualizes community health information at the census tract, zip code, and neighborhood level, in the form of maps, graphs, and data summaries. Background Recent years have put a spotlight on the importance of searchers of all kinds to quickly and easily find relevant, timely, and useful health information. Although there are already many sources of high quality health data, reporting on the city, state, and national level, many of these sources can be hard to find and navigate. Because health information is often scattered across various specialized organizations, users may be required to visit multiple sites to collect all the information they want to find. In many cases, data will be initially reported on the federal level, and if users are interested in finding local data, they will be required to narrow down to their area of interest using filters or other built in tools. This can often be a difficult or confusing process for people with less experience or facility navigating these web applications, because certain features will only be available after using a filter or other tool. Recognizing these limitations, the Brooklyn Health Map (BHM) compiles data from several sources of health and population information (e.g., NYS Cancer Registry, US Census, and Centers for Disease Control and Prevention [CDC]), limits the coverage area to one relatively small geographic area, and provides simple navigation for users to quickly and easily collect the information they need. The BHM focuses on presenting data about the health characteristics of adults living in Brooklyn, New York. The dashboard is intended to simplify access to relevant and comprehensive health and demographic information about Brooklyn. This article seeks to provide an overview of the technical aspects involved in the development of the BHM. For information about the goals, development, and pedagogical applications, see Philogene (2022). As the BHM is a web based dashboard, the entirety of the page is built using HTML, CSS, Bootstrap, and JavaScript. The webpage is divided into three areas (Figure 1), which correspond to (1) an interactive web map, (2) zip code selector summary panel, and (3) interactive neighborhood level charts. Figure 1. The Brooklyn Health Map. The Necessary Data The BHM includes health and population information from three sources: The PLACES: Local Data for Better Health project (2020) New York State Cancer Registry (2020) U.S. Census Bureau (2015; 2019). In addition to the population information, the dashboard also uses shapefiles of the census tracts, zip codes, and other areas of Brooklyn collected from the New York City Open Data Portal. The dashboard incorporates 20 types of health and population metrics, including languages spoken in the area and health characteristics such as high cholesterol and cancer screening rate on the census tract, zip code, and neighborhood level. The data were initially compiled into .csv files (one for each geographic level) and converted to GeoJSON files using ArcGIS. GeoJSON is a geographic file type based on the JavaScript Object Notation (JSON) file type, which stores both geographic feature information (i.e., coordinates) and non-geographic data. Using GeoJSON files makes web mapping easier, as this file type helps to consolidate several types of data into one file, making file management and coding easier. The Dashboard Panel 1. Web Mapping with Leaflet The first section of the dashboard is an interactive web map, built using the leaflet. Leaflet.js is an open source JavaScript library used to create interactive, mobile friendly web maps. Leaflet provides many short cut methods for adding dynamic functionality to web maps. The leaflet website provides full tutorials to get started with using the library. To prepare the page for a web map, a leaflet CSS and JavaScript file needs to be added to the HTML
element, and a