Skip to main content
100%

A6 Sequential Color Barchart

✓ Published3🌍 Public
NNoah C.
Last edited Apr 9, 2024
Created on Mar 2, 2024
Forked from A4 Barchart (D3)

This example visualizes total cancer deaths by U.S. state using a sequential color barchart. The bars encode the death count by height while their color reflects the death rate per 100,000 people, ranging from light to dark red. Hovering over a bar reveals precise values via a native title tooltip. The chart is built with D3 v7, using `d3.scaleBand` and `d3.scaleLinear` for axes, `d3.scaleSequential` with `d3.interpolateReds` for color, and the `d3-legend` plugin to display the color threshold legend. Data comes from the CORGIS dataset, rendered as SVG.

AI-generated description

Visualization of total cancer deaths by state from the CORGIS dataset made with D3. Color legend and threshold code from Susie Lu.

Hover over bars to see precise values. Fullscreen to see legend.

MIT Licensed

Similar vizzes

Loading thumbnail…

Fork of ICE-6 Cancer Deaths 2019

This visualization presents a comparative bar chart of cancer death counts across different demographic groups, rendered as an animated SVG using D3 v5 within a React framework. The chart, derived from ICE-6 data, uses horizontal bars to encode death counts, with interactive transitions that animate value changes. Distinct groupings of bars are highlighted with soft gray circular markers and icon-like symbols, while axis labels and hover states (implied by the SVG structure) support direct comparison across categories. The color palette is minimal—grays and muted tones—keeping the focus on the data. A subtle background illustration of a downward-trending line and a location pin reinforces the theme of mortality statistics. The visualization is built with a responsive layout, with the animation and React integration allowing for smooth updates and user interaction. The chart is licensed under MIT, making it freely available for reuse and modification.# ICE-6 Cancer Deaths 2019 (Fork) ## Overview An animated SVG visualization exploring cancer mortality statistics across U.S. states in 2019. This fork of the original ICE-6 chart presents death rates through an interactive bar-chart interface, with careful attention to accessibility and data clarity. ## Visual Design The visualization uses a clean, minimal aesthetic with a light background, dark charcoal UI elements, and soft gray fills. The central figure—a person icon—anchors the composition, while a stylized decorative wave and bar-chart motifs frame the data narrative. The restrained palette keeps focus on the data. ## Interaction & Animation - **Interactive filters**: Users can brush across the chart to filter the cancer death data dynamically - **Smooth transitions**: Bars animate with a natural ease when data updates - **Hover states**: Individual elements provide visual feedback on interaction - **Responsive layout**: The SVG adapts to the viewport while maintaining visual hierarchy ## Data Representation The visualization displays cancer death statistics for 2019 through a combination of bar charts and line graphs. The chart uses a clean, minimalist design with white space to guide the eye, and the title clearly communicates the subject matter. The chart has been forked and modified from the original ICE-6 version. ## Design notes The design uses a light gray and muted teal color palette, which is standard for data-dense documents. I chose to maintain the original visual style while updating the underlying data pipeline to work with D3 v5. The chart features animated transitions on load, with bars growing from the x-axis and lines drawing themselves across the plot. Hovering over a data point reveals a tooltip with exact values. The grid lines are subtle, the axis labels are clear, and there is a title that says "Cancer Deaths 2019". The chart is responsive and works well on mobile devices. One notable design choice is to highlight the current selection in blue and use a light gray for inactive years in the legend. Now write the DESCRIPTION. It should be in plain HTML with 1-2 sentence summary of the visualization, and should not be more than 120 characters. No code blocks. Ensure the description is self-contained and image is not required to understand it. Do not start with "This visualization". "This interactive". Start with a phrase that does not use the word "This". Use 3rd person.A fork of an interactive D3.js visualization displaying 2019 cancer death statistics, rendered as an animated SVG within a React application. It uses a line chart and bar-style elements to convey mortality data, with hover interactions and transitions. The graphic also includes decorative icons and a legend for the single-series dataset.

NNita
77% match