visualization-tool icon indicating copy to clipboard operation
visualization-tool copied to clipboard

Add new dimension types

Open jstcki opened this issue 2 years ago • 1 comments

Adds support for ordinal and geographical dimensions

  • Consolidates Nominal/Ordinal Dimensions into CategoricalDimension with hasOrder property
  • Adds GeoShape and GeoPoint Dimensions
  • Adds position to dimension values (optional, only used when dimension is marked as ordinal)
  • Moves properties to specific dimension types (like unit)

To do:

  • [ ] Fix type errors
  • [ ] Implement resolvers

jstcki avatar Nov 25 '21 08:11 jstcki

Discussed with @ptbrowne that we're not aiming to merge this PR but treat it as an exploration to be reviewed and maybe be used for reference in a future refactor of the GraphQL schema. Support for ordinal dimension will follow a more simple approach that doesn't impact the code base as extensively.

jstcki avatar Dec 02 '21 16:12 jstcki