scatter map
This interactive map displays 311 homeless encampment reports across Staten Island, with a dark-themed Leaflet map rendering circular markers for each reported location. Users can filter the data by status (Open, Closed, Pending) and date range using the provided dropdowns. The map uses CARTO’s dark basemap tiles and shows popup details for each marker, including date, status, address, and resolution description. The CSV data is loaded via D3’s `csv` parser, while Leaflet’s `map`, `tileLayer`, and `circleMarker` APIs handle map rendering and interaction.
AI-generated descriptionStaten Island 311 Requests - Homeless Encampments Map
An interactive Leaflet map visualization showing 311 requests for homeless encampments in Staten Island, NYC.
Features
- Interactive map powered by Leaflet
- Filter by status (Open, Closed, Pending)
- Filter by date range
- Click markers for detailed information
- Dark theme optimized for data visualization
Data Source
The application expects a CSV file (data.csv) with the
following columns:
- unique_key
- created_date
- agency
- complaint_type
- descriptor
- location_type
- incident_address
- city
- status
- resolution_description
- latitude
- longitude
Usage
Replace the sample data in data.csv with actual 311 data
from NYC Open Data.