Skip to main content
100%

Multi-Series Line Chart

✓ Published0🌍 Public
BBrandonStroud
Last edited Feb 11, 2016
Created on Feb 11, 2016

This multi-series line chart tracks the cumulative Ebola cases in Guinea, Liberia, and Sierra Leone from March 2014 to March 2015, using data loaded from a TSV file. The visualization employs D3 v3 to parse dates with d3.time.format, map dates to the x-axis with a time scale, and map case counts to a linear y-scale. Each country’s series is colored via an ordinal color scale (category10), with d3.extent/min/max computing the domain and d3.keys extracting column names. Axes are rendered with d3.svg.axis, and the lines are drawn using d3.svg.line. The chart follows conventional margins and is forked from mbostock’s Multi-Series Line Chart example, with data sourced from a gist by BrandonStroud.

AI-generated description

This line chart is constructed from a TSV file storing the daily average temperatures of New York, San Francisco and Austin over the last year. The chart employs conventional margins and a number of D3 features:

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3884955'>Multi-Series Line Chart</a>

gpl-3.0 Licensed

Similar vizzes

Loading thumbnail…

ebola map w/checks

This interactive map visualization, built with D3.js and Leaflet, plots the geographic locations of Ebola cases as red dots on a Mapbox-backed world map. The primary dataset is embedded as GeoJSON within the page and includes points across several countries, including Spain, the United States, the Democratic Republic of the Congo, and Guinea. Users can filter the visible data using the checkbox interface provided for each country — Democratic Republic of the Congo, Guinea, and Liberia — toggling the relevant points on and off the map. The visualization uses SVG overlays for the plotted points and supports animation through the mapping library, offering a flexible template for geographical data exploration. The design is minimal, with a full-screen map and simple UI controls, making it easy to adapt for other location-based datasets. It is built with d3 and Leaflet via Mapbox, and released under the MIT license.# Ebola Map with Checkboxes ## Overview An interactive map visualization showing the geographic spread of Ebola cases across West Africa and beyond, built by layering D3-rendered points onto a Mapbox/Leaflet base map. ## Design The visualization displays individual case locations as markers on a navigable street map. The key interactive element is a set of checkboxes that filter displayed cases by country (DRC, Guinea, Liberia). This simple filtering mechanism allows viewers to isolate outbreaks by nation, making the geographic patterns of the epidemic easier to discern. ## Technical Details The visualization combines: - **Leaflet via Mapbox** for base map tiles and pan/zoom functionality - **D3.js** for binding and rendering the geographic data points - GeoJSON data containing point locations (primarily in West/Central Africa, with cases in the US and Spain) The author notes this setup serves as a useful foundation for geographically-based d3 visualizations. ## Usage Load the page and use the checkboxes to toggle DRC, Guinea, or Liberia points on and off the map. --- *Source: [gist](https://gist.github.com/) · License: MIT · Rendered with SVG/animation* **Title:** Ebola Map with Checkboxes This interactive map visualizes geolocated data points from the 2014 Ebola outbreak, overlaid on a Leaflet/Mapbox base map. Built with D3 and Leaflet, it plots affected locations using SVG markers. The interface includes checkboxes that let users toggle the visibility of cases by country (DRC, Guinea, Liberia), enabling focused exploration of outbreak geographies. This simple, reusable setup provides a foundation for geographically based visualizations. The map uses an animated SVG rendering to represent data points. It is available under the MIT license.

BBrieLewis
74% match