Skip to content

Changelog

Every published release of sszvis, newest first. Releases are versioned with semver: a patch fixes, a minor adds, a major can break existing chart code.

3.5.2 (2026-09-18)

  • the SVG and raster map renderers write the fill, positioning and pointer events they depend on inline, so a chart shipped without sszvis.css draws outlines rather than filled shapes covering the map, and lets pointers through to the base layer
  • sszvis.mapRendererGeoJson() shapes are a hit area when an over, out or click handler is registered on them
  • sszvis.line(), sszvis.stackedArea(), sszvis.stackedAreaMultiples() and sszvis.stackedPyramid() reference outlines break at a non-finite value instead of truncating there
  • sszvis.line(), sszvis.stackedArea() and sszvis.sunburst() write their geometry on the render tick rather than only through the transition, so a chart measured or serialized before the first animation frame is no longer empty
  • sszvis.sunburst() anchors its tooltips on the destination angles instead of the ones currently on screen, so they no longer trail a render behind the arcs
  • sszvis.stackedPyramid() forwards d3's index to barWidth, barPosition and barFill, centers its reference outlines on the bars they describe, and removes one whose series goes away
  • sszvis.stackedPyramidLayout() and sszvis.stackedPyramidData() keep the stacking order the series accessor returned and sum every row they place in one cell, as sszvis.stackedBarData() already did
  • sszvis.stackedBarVerticalData() and sszvis.stackedBarVerticalLayout() number each series by its position in the array they return, so an index read for a legend is no longer upside down
  • sszvis.mapRendererBubble(), sszvis.mapRendererPatternedLakeOverlay(), sszvis.stackedPyramid() and sszvis.prepareMergedGeoData() report their missing required properties by name before drawing, instead of failing partway through the render
  • sszvis.mapRendererRaster() draws an empty canvas when the layer has no data bound, the state every chart is in before its data load
  • sszvis.groupedBarsVertical() and sszvis.groupedBarsHorizontal() take a constant for x and y, as width and height already did
  • sszvis.textWrap() warns and skips wrapping when width is not finite, and keeps a y given in non-numeric units such as 1em
  • the chart's SVG no longer carries a <title>, which the browser drew as a native tooltip over the whole chart
  • accessors, formatters and event handlers are typed against the values they actually receive, and ColorValue, Measurement, PartialMeasurement and sszvis.colorToString are exported so a chart can name the types its own accessors return

Worth checking

Two of the stylesheet fixes change what a map draws.

sszvis.mapRendererGeoJson() shapes were marked as event targets and had handlers bound to them, but sszvis.css gave them pointer-events: none, so no handler could ever fire. They are now a target whenever one is registered — which means a geojson overlay shadows the layer beneath it over its own shapes, so a chart driving tooltips from a choropleth base layer under such an overlay will see the overlay win there. With no handler registered the shapes stay inert, exactly as before. This matches sszvis.mapRendererBubble().

sszvis.mapRendererPatternedLakeOverlay() writes the lake border's stroke, width and dash pattern inline, defaulting to the grey dotted line the stylesheet used to supply; an explicitly falsy lakePathColor now means no border rather than a fallback to the stylesheet. An unset lakeBounds draws no border path at all, instead of a classed path with no geometry, and mapPath is required whenever there is a lake to draw. Asking for no lake still needs neither property.

3.5.1 (2026-09-10)

  • ship sszvis.css from the library package, so sszvis/sszvis.css resolves from an install instead of only from the documentation site

The stylesheet is now published with the library and exported under its own subpath, so a bundler or <link> can reach it directly from node_modules — copying it out of the documentation site is no longer necessary:

import "sszvis/sszvis.css";

sszvis/build/sszvis.css resolves as well, for anyone who already points at that path.

3.5.0 (2026-09-08)

  • the library is now written entirely in TypeScript, and its types describe the datum your chart actually binds
  • add an ariaLabel property and keyboard operation to sszvis.buttonGroup and sszvis.selectMenu
  • add sszvis.stackedBarHorizontalLayout, sszvis.stackedBarVerticalLayout and sszvis.stackedPyramidLayout, which return the prepared series together with their layout metadata
  • add a columnLabelOpacity property to sszvis.sankey
  • add a key property to the mesh, highlight, raster and lake overlay map renderers so several maps can share a page
  • bars, dots, pie slices, grouped bars, sunburst rings, map bubbles and map fills now animate
  • components now validate their required properties instead of drawing something incomplete
  • around 200 fixes across components, maps, controls, layouts and utilities

The TypeScript port that began in 3.3.0 is finished: there is no JavaScript left in the library, and the datum type now flows through the builder chain instead of being erased to any. Expect accurate inference where the surface was previously only partly typed — and expect the compiler to point out mistakes in chart code that compiled before.

We also read every component closely this release, and many turned out to be quietly wrong: stacked bars that summed only the first row of a cell, sunburst rings that saturated to white, map bubbles that swallowed clicks meant for the map beneath, and a sszvis.nestedStackedBarsVertical exported under a name that did not exist. Your charts may look different after upgrading, usually because they are now drawing what you asked for.

Breaking changes

Most components now throw at render time when a required property is missing, naming themselves and the property: [stackedBarVertical] the xScale property is required. Open each of your charts once before upgrading in production. Wrongly typed properties throw too — a non-function tickFormat, an unrecognized orientation on sszvis.legendColorOrdinal or slant in sszvis.colorLegendLayout, a resize listener that is not callable.

Other changes worth checking:

  • components join only the elements they own, so anything you appended inside their group now accumulates instead of being cleared — append it to a sibling group
  • the end caps of sszvis.legendColorLinear use the class sszvis-legend__mark; the old ssvis-legend--mark was a misspelling and any rule matching it is now dead
  • lake and missing-value SVG ids are scoped per map; sszvis.mapLakeFadeGradient and sszvis.mapLakeGradientMask take an id, defaulting to sszvis.LAKE_FADE_GRADIENT_ID
  • sszvis.selectMenu resolves an option by value rather than position, and current now overrides a selection the reader made
  • sszvis.app returns a handle with destroy(), accepts a synchronous init, and freezes the state it hands to render

Animation

Marks that used to jump now animate. Charts rendering into a screenshot or print pipeline should wait for the transition, or turn it off:

const bars = sszvis.bar().transition(false);

Not everything is opt-out: sszvis.sunburst interpolates its arcs unconditionally, and the base map renderer eases its fill through transitionColor.

Layouts that carry their metadata

The …Data helpers are unchanged. The new …Layout helpers return the same series alongside the values a chart usually recomputes by hand:

const layout = sszvis.stackedBarVerticalLayout(stackAcc, seriesAcc, valueAcc)(data);
// { series, keys, maxValue, minValue }
 
const yScale = d3.scaleLinear().domain([0, layout.maxValue]).range([height, 0]);
 
chartLayer.selectGroup("bars").datum(layout.series).call(bars);

Fixes

Every fix is listed in the release notes for 3.5.0. The ones most likely to change what you see:

  • Components — stacked bars sum every row and draw negative values; stacked pyramids place their reference lines correctly; grouped bars keep and tween their rects; pack and treemap anchor tooltips on the drawn nodes; pie no longer writes transition state onto your data
  • Maps — handlers receive the hovered entity's datum; bubbles let pointers through unless they handle them; the lake and anchored shape can be switched back off; each choropleth fits its own features
  • Controls and legends — the slider reads the scale it draws with; the button group lays out as a row again; the linear legend stops corrupting the displayValues you pass it; diverging color scales survive .reverse()
  • Layouts — degenerate sizes give a zeroed layout rather than NaN geometry, and sankey places a single column instead of sending it to infinity (#120)
  • Utilities — sszvis.behavior.move resolves pointers in the scale's own coordinate space, the voronoi behavior follows a finger on touch, and sszvis.logger prints a message and its cause as one entry

3.4.0 (2025-12-05)

  • add sszvis.treemap component for hierarchical data visualization
  • add sszvis.pack component for circle packing visualizations
  • add sszvis.groupedBarsHorizontal component for horizontal grouped bar charts
  • renamed sszvis.groupedBars to sszvis.groupedBarsVertical for clarity (backwards compatible for now)
  • fix pointer events in sszvis.move behavior for better touch support

We've added a new hierarchy section to the documentation that includes examples and guides for using the new sszvis.treemap and sszvis.pack components as well as the existing sszvis.sunburst. These components all follow a similar data structure which has been consolidated into the sszvis.prepareHierarchyData utility.

 const hierarchicalData = sszvis
      .prepareHierarchyData()
      .layer(continentAcc)
      .layer(regionAcc)
      .layer(countryAcc)
      .value(numAcc)
      .calculate(data);
 

Existing examples have been updated to use this new utility for preparing hierarchical data more easily.

Deprecated

The sszvis.groupedBars component has been renamed to sszvis.groupedBarsVertical to make it clearer that it renders vertical grouped bar charts. The old name is still available for backwards compatibility but will be removed in a future release.

3.3.1 (2025-09-25)

  • fix sszvis.panning behavior with correct data arguments in event handlers

3.3.0 (2025-09-19)

  • add sszvis.annotationConfidenceBar annotation component for displaying confidence intervals and error ranges
  • expand props for adding slants to sszvis.slider labels

The sszvis library now partially supports TypeScript. There are a lot of files still to be converted, but most of the utility functionality is now typed as well as new components like sszvis.annotationConfidenceBar. More conversions will follow in future releases.

If you are using TypeScript, you can now import types directly from the sszvis package without the need for separate type declaration files.

3.2.1 (2025-06-18)

  • fix sszvis.voronoi when using with centered elements

3.2.0 (2025-03-17)

  • add new color scales for genders: sszvis.scaleGender3, sszvis.scaleGender6Origin, sszvis.scaleGender5Wedding
  • fix darker and brighter color fn

3.1.1 (2024-10-28)

  • fix the selection of the sszvis.nestedStackedBarsVertical to render first time
  • updated documentation on data structure to match new d3.stack and include examples

3.1.0 (2024-10-25)

  • added sszvis.nestedStackedBarsVertical component
  • added sszvis.annotationConfidenceArea component
  • added sszvis.rulerLabelVerticalSeparate function
  • improved performance by changing the .enter().exit() pattern to .join()
  • fixes to documentation and examples to improve clarity

3.0.5 (2024-09-25)

  • fix path removal when merging
  • fix interactions in documentation examples

3.0.4 (2024-08-30)

  • fix custom event handling in sszvis.behavior.move to match d3 v7
  • fix selectMenu to pass same onChange event as buttonGroup

3.0.3 (2024-08-15)

  • correctly defined values using isNaN
  • fix dy calculation in rulers

3.0.0 (Aug 2024)

  • Upgraded d3 v5 to v7 (BREAKING CHANGE)
  • Remove polyfills for EI (BREAKING CHANGE)
  • Update code examples to use modern ES6 features

The sszvis library now is dependent on d3 version 7 (see d3 v6 migration guide). This means you will need to upgrade any scripts that import v5 to v7.

<script src="https://unpkg.com/d3@7/dist/d3.min.js"></script>

The upgrade to d3 v7 comes with a few breaking changes. The most notable one is the usage of newer ES6 data structures like Map and Set instead of the old d3.map and d3.value based data structures. This change was necessary to improve performance and to align with modern JavaScript practices.

// This d3 v5 code snippet should be updated to ...
state.maxStacked = d3.max(d3.values(dateValues), function (s) {...});
 
// ... this d3 v7 code snippet
state.maxStacked = d3.max(Object.values(dateValues), (s) => {...});

The other major change is that to mouse event handlers which are now the first argument in the callback for any event listeners. This change causes any existing code that uses interactions (hover, mouse clicks etc) to break.

// This d3 v5 code snippet should be updated to ...
toggleMultiples: function (g) {
  state.isMultiples = g === "Separiert";
  render(state);
},
 
// ... this d3 v7 code snippet
toggleMultiples: (e, g) => {
  state.isMultiples = g === "Separiert";
  render(state);
},

The last change is to the voronoi functionality which has now been updated to use Delaunay. The only noticeable change now is how boundaries are set, now accepting a single array of numbers, rather then two points:

// This d3 v5 code snippet should be updated to ...
var mouseOverlay = sszvis
    .voronoi()
    ...
    .bounds([
      [-bounds.padding.left, -bounds.padding.top],
      [bounds.innerWidth + bounds.padding.right, bounds.innerHeight + 20],
    ]);
 
// ... this d3 v7 code snippet
var mouseOverlay = sszvis
    .voronoi()
    ...
    .bounds([
      -bounds.padding.left,
      -bounds.padding.top,
      bounds.innerWidth + bounds.padding.right,
      bounds.innerHeight + 20,
    ]);

2.3.1 (Dec 2022)

  • Changed the color palette to match redesign color scheme
  • Added a default stroke to axis and rangeRuler text which can be bypassed with custom prop
  • Enforce default stroke on pie, stackedBar and stackedArea components to better visualize the new color scheme

2.3.0 (Aug 2020)

  • Added sszvis.app as a more structured way to create sszvis apps. This helps with managing state through actions and allows us to apply some performance optimizations behind the scenes.

2.2.0 (Jul 2020)

  • Upgraded d3 to version 5.0
  • Added a basic (i.e. incomplete) shim for d3-request using the new d3-fetch API
    • Refactored all examples to use d3-fetch
    • Added Polyfills for browsers that don't support Promises and fetch()
  • Changed sszvis.defined to return false for NaN values
  • Changed sszvis.isNumber to return false for NaN values
  • Fixed "Extended Maps" examples that previously showed invalid data

Breaking changes

  • Due to the use of more modern features, IE9 and below are no longer supported
  • If code relied on the old behavior of sszvis.defined or sszvis.isNumber that considered NaN as a number (which for most purposes of creating visualizations is not useful), existing code might break and must be fixed.

Docs

  • Upgraded all NPM dependencies to their most recent versions
  • Formatted all examples with Prettier 2.0
  • Removed dependency on Ramda and Radium
  • Removed responsive content testbed as it was no longer in use

Upgrade from 2.0 to 2.2.0

The upgrade to d3 v5 is mostly backwards compatible (see d3 v5's change log), but existing code should be updated to use the d3-fetch API instead of the old d3-request API.

function parseRow(x) {
  return { year: parseInt(x.Jahr, 10) };
}
 
// This d3 v4 code snippet should be updated to ...
d3.csv("http://example.com")
  .row(parseRow)
  .get(function(error, data) {
    if (error) {
      sszvis.loadError(error);
      return;
    }
    actions.prepareState(data);
  });
 
// ... this d3 v5 code snippet
d3.csv("http://example.com", parseRow)
  .then(actions.prepareState)
  .catch(sszvis.loadError);
 
// The same is true for d3.json
d3.json("http://example.com", parseRow)
  .then(actions.prepareState)
  .catch(sszvis.loadError);

2.1.0 (Feb 2020)

  • Changed formatNumber to remove insignificant trailing zeros
  • Changed sszvis.move to also invert point scales
  • Added new module sszvis/measure with utilities to measure elements
    • Added new function measureText to calculate the width of a string
    • Added new function measureAxisLabel as a preset of measureText
    • Added new function measureLegendLabel as a preset of measureText
  • Added new layout colorLegendLayout to compute color legend sizes automatically
  • Added new helper function foldPattern
  • Fixed cut-off of color legend circle
  • Simplified documentation and removed redundant examples
    • Generalized some chart examples to include more defaults
    • Removed distinction between single- and multi-line chart

2.0 (Dec 2017)

Upgrade from 1.x to 2.0

The sszvis API has changed significantly from version 1.x to 2.0. This was done to a) align more closely with practices in the d3 ecosystem and to be able to leverage ES modules better (by not exporting whole namespaces but each function separately).

sszvis now depends on d3 v4. See d3 v4's change log for details on d3's API changes.

Internals

  • sszvis_namespace ⟼ replaced by ES modules
  • No more setting of default locale, instead locale and localized formatting and parsing functions are exported

D3 extensions

  • d3.component ⟼ sszvis.component

Functional utilities

  • sszvis.fn.identity ⟼ sszvis.identity
  • sszvis.fn.isString ⟼ sszvis.isString
  • sszvis.fn.isSelection ⟼ sszvis.isSelection
  • sszvis.fn.arity ⟼ sszvis.arity
  • sszvis.fn.compose ⟼ sszvis.compose
  • sszvis.fn.contains ⟼ sszvis.contains
  • sszvis.fn.defined ⟼ sszvis.defined
  • sszvis.fn.derivedSet ⟼ sszvis.derivedSet
  • sszvis.fn.every ⟼ sszvis.every
  • sszvis.fn.filledArray ⟼ sszvis.filledArray
  • sszvis.fn.find ⟼ sszvis.find
  • sszvis.fn.first ⟼ sszvis.first
  • sszvis.fn.flatten ⟼ sszvis.flatten
  • sszvis.fn.firstTouch ⟼ sszvis.firstTouch
  • sszvis.fn.hashableSet ⟼ sszvis.hashableSet
  • sszvis.fn.isFunction ⟼ sszvis.isFunction
  • sszvis.fn.isNull ⟼ sszvis.isNull
  • sszvis.fn.isNumber ⟼ sszvis.isNumber
  • sszvis.fn.isObject ⟼ sszvis.isObject
  • sszvis.fn.last ⟼ sszvis.last
  • sszvis.fn.measureDimensions ⟼ sszvis.measureDimensions
  • sszvis.fn.not ⟼ sszvis.not
  • sszvis.fn.prop ⟼ sszvis.prop
  • sszvis.fn.propOr ⟼ sszvis.propOr
  • sszvis.fn.set ⟼ sszvis.set
  • sszvis.fn.some ⟼ sszvis.some
  • sszvis.fn.stringEqual ⟼ sszvis.stringEqual
  • sszvis.fn.functor ⟼ sszvis.functor

Parsers

  • sszvis.parse.date ⟼ sszvis.parseDate
  • sszvis.parse.year ⟼ sszvis.parseYear
  • sszvis.parse.number ⟼ sszvis.parseNumber

Formatters

  • sszvis.format.age ⟼ sszvis.formatAge
  • sszvis.format.axisTimeFormat ⟼ sszvis.formatAxisTimeFormat
  • sszvis.format.month ⟼ sszvis.formatMonth
  • sszvis.format.year ⟼ sszvis.formatYear
  • sszvis.format.none ⟼ sszvis.formatNone
  • sszvis.format.number ⟼ sszvis.formatNumber
  • sszvis.format.preciseNumber ⟼ sszvis.formatPreciseNumber
  • sszvis.format.percent ⟼ sszvis.formatPercent
  • sszvis.format.fractionPercent ⟼ sszvis.formatFractionPercent
  • sszvis.format.text ⟼ sszvis.formatText

Components

  • sszvis.component.bar ⟼ sszvis.bar
  • sszvis.component.dot ⟼ sszvis.dot
  • sszvis.component.groupedBars ⟼ sszvis.groupedBars
  • sszvis.component.line ⟼ sszvis.line
  • sszvis.component.pie ⟼ sszvis.pie
  • sszvis.component.pyramid ⟼ sszvis.pyramid
  • sszvis.component.sankey ⟼ sszvis.sankey
  • sszvis.component.stackedArea ⟼ sszvis.stackedArea
  • sszvis.component.stackedAreaMultiples ⟼ sszvis.stackedAreaMultiples
  • sszvis.component.stackedBar.horizontal ⟼ sszvis.stackedBarHorizontal
  • sszvis.component.stackedBar.horizontalStackedBarData ⟼ sszvis.stackedBarHorizontalData
  • sszvis.component.stackedBar.vertical ⟼ sszvis.stackedBarVertical
  • sszvis.component.stackedBar.verticalStackedBarData ⟼ sszvis.stackedBarVerticalData
  • sszvis.component.stackedPyramid ⟼ sszvis.stackedPyramid
  • sszvis.component.stackedPyramid.stackedPyramidData ⟼ sszvis.stackedPyramidData
  • sszvis.component.sunburst ⟼ sszvis.sunburst

Aspect ratio

  • sszvis.aspectRatio.auto ⟼ sszvis.aspectRatioAuto
  • sszvis.aspectRatio.portrait ⟼ sszvis.aspectRatioPortrait
  • sszvis.aspectRatio.square ⟼ sszvis.aspectRatioSquare
  • sszvis.aspectRatio.ar4to3 ⟼ sszvis.aspectRatio4to3
  • sszvis.aspectRatio.ar16to10 ⟼ sszvis.aspectRatio16to10
  • sszvis.aspectRatio.ar12to5 ⟼ sszvis.aspectRatio12to5

Behaviors

  • sszvis.behavior.move ⟼ sszvis.move
  • sszvis.behavior.panning ⟼ sszvis.panning
  • sszvis.behavior.voronoi ⟼ sszvis.voronoi

Color scales

  • sszvis.color.qual12 ⟼ sszvis.scaleQual12
  • sszvis.color.qual6 ⟼ sszvis.scaleQual6
  • sszvis.color.qual6a ⟼ sszvis.scaleQual6a
  • sszvis.color.qual6b ⟼ sszvis.scaleQual6b
  • sszvis.color.seqBlu ⟼ sszvis.scaleSeqBlu
  • sszvis.color.seqRed ⟼ sszvis.scaleSeqRed
  • sszvis.color.seqGrn ⟼ sszvis.scaleSeqGrn
  • sszvis.color.seqBrn ⟼ sszvis.scaleSeqBrn
  • sszvis.color.divVal ⟼ sszvis.scaleDivVal
  • sszvis.color.divValGry ⟼ sszvis.scaleDivValGry
  • sszvis.color.divNtr ⟼ sszvis.scaleDivNtr
  • sszvis.color.divNtrGry ⟼ sszvis.scaleDivNtrGry
  • sszvis.color.lightGry ⟼ sszvis.scaleLightGry
  • sszvis.color.paleGry ⟼ sszvis.scalePaleGry
  • sszvis.color.gry ⟼ sszvis.scaleGry
  • sszvis.color.dimGry ⟼ sszvis.scaleDimGry
  • sszvis.color.medGry ⟼ sszvis.scaleMedGry
  • sszvis.color.deepGry ⟼ sszvis.scaleDeepGry

Color helpers

  • sszvis.color.slightlyDarker ⟼ sszvis.slightlyDarker
  • sszvis.color.muchDarker ⟼ sszvis.muchDarker
  • sszvis.color.withAlpha ⟼ sszvis.withAlpha

Axes

  • sszvis.axis.x ⟼ sszvis.axisX
  • sszvis.axis.y ⟼ sszvis.axisY

SVG Utils

  • sszvis.svgUtils.crisp.halfPixel ⟼ sszvis.halfPixel
  • sszvis.svgUtils.crisp.roundTransformString ⟼ sszvis.roundTransformString
  • sszvis.svgUtils.crisp.transformTranslateSubpixelShift ⟼ sszvis.transformTranslateSubpixelShift
  • sszvis.svgUtils.modularText.svg ⟼ sszvis.modularTextSVG
  • sszvis.svgUtils.modularText.html ⟼ sszvis.modularTextHTML
  • sszvis.svgUtils.ensureDefsElement ⟼ sszvis.ensureDefsElement
  • sszvis.svgUtils.textWrap ⟼ sszvis.textWrap
  • sszvis.svgUtils.translateString ⟼ sszvis.translateString

Viewport

  • sszvis.viewport ⟼ no change

Legends

  • sszvis.legend.binnedColorScale ⟼ sszvis.legendColorBinned
  • sszvis.legend.linearColorScale ⟼ sszvis.legendColorLinear
  • sszvis.legend.ordinalColorScale ⟼ sszvis.legendColorOrdinal
  • sszvis.legend.radius ⟼ sszvis.legendRadius

Layout

  • sszvis.layout.heatTableDimensions ⟼ sszvis.dimensionsHeatTable
  • sszvis.layout.horizontalBarChartDimensions ⟼ sszvis.dimensionsHorizontalBarChart
  • sszvis.layout.verticalBarChartDimensions ⟼ sszvis.dimensionsVerticalBarChart
  • sszvis.layout.populationPyramidLayout ⟼ sszvis.layoutPopulationPyramid
  • sszvis.layout.smallMultiples ⟼ sszvis.layoutSmallMultiples
  • sszvis.layout.stackedAreaMultiples ⟼ sszvis.layoutStackedAreaMultiples
  • sszvis.layout.sankey.prepareData ⟼ sszvis.sankeyPrepareData
  • sszvis.layout.sankey.computeLayout ⟼ sszvis.sankeyLayout
  • sszvis.layout.sunburst.prepareData ⟼ sszvis.sunburstPrepareData
  • sszvis.layout.sunburst.computeLayout ⟼ sszvis.sunburstLayout
  • sszvis.layout.sunburst.getRadiusExtent ⟼ sszvis.sunburstGetRadiusExtent

Patterns

  • sszvis.patterns.heatTableMissingValuePattern ⟼ sszvis.heatTableMissingValuePattern
  • sszvis.patterns.mapMissingValuePattern ⟼ sszvis.mapMissingValuePattern
  • sszvis.patterns.mapLakePattern ⟼ sszvis.mapLakePattern
  • sszvis.patterns.mapLakeFadeGradient ⟼ sszvis.mapLakeFadeGradient
  • sszvis.patterns.mapLakeGradientMask ⟼ sszvis.mapLakeGradientMask
  • sszvis.patterns.dataAreaPattern ⟼ sszvis.dataAreaPattern

Maps

Hard-coded map modules have been removed in favor of loading geodata from GeoJSON or TopoJSON files.

  • sszvis.map.utils.constants.STADT_KREISE_KEY ⟼ sszvis.STADT_KREISE_KEY
  • sszvis.map.utils.constants.STATISTISCHE_QUARTIERE_KEY ⟼ sszvis.STATISTISCHE_QUARTIERE_KEY
  • sszvis.map.utils.constants.STATISTISCHE_ZONEN_KEY ⟼ sszvis.STATISTISCHE_ZONEN_KEY
  • sszvis.map.utils.constants.WAHL_KREISE_KEY ⟼ sszvis.WAHL_KREISE_KEY
  • sszvis.map.utils.constants.AGGLOMERATION_2012_KEY ⟼ sszvis.AGGLOMERATION_2012_KEY
  • sszvis.map.utils.constants.SWITZERLAND_KEY ⟼ sszvis.SWITZERLAND_KEY
  • sszvis.map.utils.GEO_KEY_DEFAULT ⟼ sszvis.GEO_KEY_DEFAULT
  • sszvis.map.utils.swissMapProjection ⟼ sszvis.swissMapProjection
  • sszvis.map.utils.swissMapPath ⟼ sszvis.swissMapPath
  • sszvis.map.utils.pixelsFromDistance ⟼ sszvis.pixelsFromGeoDistance
  • sszvis.map.utils.prepareMergedData ⟼ sszvis.prepareMergedGeoData
  • sszvis.map.utils.getGeoJsonCenter ⟼ sszvis.getGeoJsonCenter
  • sszvis.map.utils.widthAdaptiveMapPathStroke ⟼ sszvis.widthAdaptiveMapPathStroke
  • sszvis.map.renderer.anchoredCircles ⟼ sszvis.mapRendererBubble
  • sszvis.map.renderer.base ⟼ sszvis.mapRendererBase
  • sszvis.map.renderer.geojson ⟼ sszvis.mapRendererGeoJson
  • sszvis.map.renderer.highlight ⟼ sszvis.mapRendererHighlight
  • sszvis.map.renderer.image ⟼ sszvis.mapRendererImage
  • sszvis.map.renderer.mesh ⟼ sszvis.mapRendererMesh
  • sszvis.map.renderer.patternedlakeoverlay ⟼ sszvis.mapRendererPatternedLakeOverlay
  • sszvis.map.renderer.raster ⟼ sszvis.mapRendererRaster

Map projections

These were related to the map modules and aren't needed anymore.

  • sszvis.map.projection.zurichStadtKreise ⟼ removed
  • sszvis.map.projection.zurichStatistischeQuartiere ⟼ removed
  • sszvis.map.projection.zurichWahlKreise ⟼ removed
  • sszvis.map.projection.zurichStatistischeZonen ⟼ removed
  • sszvis.map.projection.zurichAgglomeration2012 ⟼ removed
  • sszvis.map.projection.switzerland ⟼ removed