@tidepool/viz 1.38.0 β†’ 1.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/data.js +1 -1
  2. package/dist/data.js.map +1 -1
  3. package/dist/getAGPFigures.js +2 -1
  4. package/dist/getAGPFigures.js.LICENSE.txt +1 -0
  5. package/dist/getAGPFigures.js.map +1 -1
  6. package/dist/index.js +2 -1
  7. package/dist/index.js.LICENSE.txt +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/print.js +2 -1
  10. package/dist/print.js.LICENSE.txt +27 -0
  11. package/dist/print.js.map +1 -1
  12. package/package.json +118 -98
  13. package/static-assets/images/capturAGP-logo.png +0 -0
  14. package/static-assets/images/sitechange-cannula.png +0 -0
  15. package/static-assets/images/sitechange-reservoir.png +0 -0
  16. package/static-assets/images/sitechange-tubing.png +0 -0
  17. package/static-assets/images/tidepool-logo-408x46.png +0 -0
  18. package/.bookignore +0 -29
  19. package/.dockerignore +0 -10
  20. package/.nvmrc +0 -1
  21. package/.prettierignore +0 -1
  22. package/Dockerfile +0 -47
  23. package/SUMMARY.md +0 -32
  24. package/artifact.sh +0 -6
  25. package/babel.config.js +0 -30
  26. package/docs/Architecture.md +0 -111
  27. package/docs/Background.md +0 -39
  28. package/docs/CodeStyle.md +0 -19
  29. package/docs/DirectoryStructure.md +0 -137
  30. package/docs/FeatureOverview.md +0 -107
  31. package/docs/StartHere.md +0 -28
  32. package/docs/Storybook.md +0 -47
  33. package/docs/deps/D3.md +0 -73
  34. package/docs/deps/GSAP.md +0 -54
  35. package/docs/deps/Moment.md +0 -7
  36. package/docs/deps/README.md +0 -14
  37. package/docs/deps/React.md +0 -6
  38. package/docs/deps/ReactMotion.md +0 -46
  39. package/docs/deps/Webpack.md +0 -7
  40. package/docs/misc/CommonProps.md +0 -31
  41. package/docs/misc/Docs.md +0 -40
  42. package/docs/misc/README.md +0 -5
  43. package/docs/misc/TimeRenderingModes.md +0 -35
  44. package/docs/views/README.md +0 -6
  45. package/docs/views/Trends.md +0 -130
  46. package/docs/views/images/bgm_trends.png +0 -0
  47. package/docs/views/images/bgm_trends_date_line_hover.png +0 -0
  48. package/docs/views/images/bgm_trends_range_hover.png +0 -0
  49. package/docs/views/images/bgm_trends_smbg_hover.png +0 -0
  50. package/docs/views/images/cgm_trends.png +0 -0
  51. package/docs/views/images/cgm_trends_segment_hover.gif +0 -0
  52. package/docs/views/images/cgm_trends_segment_hover_hold.png +0 -0
  53. package/docs/views/images/cgm_trends_segment_hover_hold_cbg.png +0 -0
  54. package/docs/views/images/tidelineContainer@2x.png +0 -0
  55. package/docs/views/images/trends_code_locations.png +0 -0
  56. package/postcss.config.js +0 -6
  57. package/static/blob-stream.js +0 -4684
  58. package/static/pdfkit.js +0 -34652
  59. package/storiesDatatypes/components/common/data/Basal.js +0 -108
  60. package/storiesDatatypes/components/common/data/Bolus.js +0 -219
  61. package/storiesDatatypes/components/common/data/Suspend.js +0 -38
  62. package/storiesDatatypes/helpers/SixHrScaleSVGDecorator.js +0 -55
  63. package/storiesDatatypes/index.js +0 -2
  64. package/storybookDatatypes/addons.js +0 -1
  65. package/storybookDatatypes/config.js +0 -12
  66. package/update-gh-pages.sh +0 -23
@@ -1,31 +0,0 @@
1
- ## Common props in Tidepool data visualization code
2
-
3
- Several of the pieces of [the state common to most, if not all, of Tidepool's data visualization views](../FeatureOverview.md#shared-state) are most often encountered in the code as props passed to React components. This page provides a quick reference describing the canonical forms of these pieces of state since they occur and are used (for example: as a parameter in a utility function) **very** frequently.
4
-
5
- - [`bgPrefs`](#bgPrefs)
6
- - [`timePrefs`](#timePrefs)
7
-
8
- ### `bgPrefs`
9
-
10
- `bgPrefs` is an object with two properties: `bgUnits` and `bgBounds`. Sometimes these component properties are passed around on their own, and sometimes `bgPrefs` is passed around as a whole. (As we increase our commitment to support for mmol/L as well as mg/dL blood glucose units, it will probably be necessary to access both `bgUnits` and `bgBounds` simultaneously most of the time, so it is probably a good idea to just get used to passing around `bgPrefs` as a whole.)
11
-
12
- `bgUnits` is a String value that can be either `mg/dL` or `mmol/L`. To avoid typos and capitalization errors, we export a constant for each of these strings from src/utils/constants.js; use them with `import { MGDL_UNITS, MMOLL_UNITS } from 'path/to/utils/constants'`.
13
-
14
- `bgBounds` is an Object with five numerical fields:
15
- - `veryLowThreshold` encodes the threshold (logic is <) for encoding a blood glucose value as "very low"
16
- - (a value >= `veryLowThreshold` and < `targetLowerBound` is "low")
17
- - `targetLowerBound` encodes the lower bound for the user's target blood glucose range; logic is >= the threshold is "target"
18
- - `targetUpperBound` encodes the upper bound for the user's target blood glucose range; logic is <= the threshold is "target"
19
- - (a value > `targetUpperBound` and <= `veryHighThreshold` is "high")
20
- - `veryHighThreshold` encodes the threshold (logic is >) for encoding a blood glucose value as "very high"
21
- - `clampThreshold` encodes the value at which we clamp the blood glucose scale (logic is >); read about clamping scales in [the d3-scale documentation](https://github.com/d3/d3-scale#continuous_clamp 'd3-scale: clamp()')
22
-
23
- The function `classifyBgValue` exported from the blood glucose utilities in `src/utils/bloodglucose.js` will return the classification for any blood glucose value given the `value` and the `bgBounds`. (See also [all the API documentation for blood glucose utility functions](../../src/utils/apidocs/bloodglucose.md).)
24
-
25
- ### `timePrefs`
26
-
27
- `timePrefs` is an object with two properties: `timezoneAware` and `timezoneName`. The `timezoneAware` property is a simple Boolean indicating whether or not the user wants to view data in timezone-aware mode; `timezoneAware` defaults to `true`. Because the extraction of a named timezone depends in part on the value of `timezoneAware`[^a], `timePrefs` should **always** be passed around as an entire object, and the utility function `getTimezoneFromTimePrefs` exported from the datetime utilities in `src/utils/datetime.js` should be used to extract the timezone String when required. (See also [all the API documentation for datetime utility functions](../../src/utils/apidocs/datetime.md).)
28
-
29
- `timezoneName` is a String timezone that the [Moment.js](https://momentjs.com/ 'Moment.js') datetime utility library recognizes. Moment.js in turn recognizes all timezones from the [IANA Time Zone Database](https://www.iana.org/time-zones 'IANA Time Zone Database).
30
-
31
- [^a]: In brief, if `timezoneAware` is `false`, then `UTC` is used for the timezone String in all circumstances and methods where a timezoe String is required.
package/docs/misc/Docs.md DELETED
@@ -1,40 +0,0 @@
1
- ## Working on viz docs
2
-
3
- This repository's docs are set up like all of Tidepool's front-end and docs repos. For details on this setup, see the [general guidance for docs setup & workflow](http://developer.tidepool.io/docs/docs/workflow.html 'Tidepool docs setup & workflow').
4
-
5
- ### Setup
6
-
7
- To summarize briefly, the steps you will need to have done in order to use the `npm` scripts configured for docs work in the repository are:
8
-
9
- - clone a second copy of this repository as a subdirectory `web/`; you can do this from your `viz/` directory with `git clone git@github.com:tidepool-org/viz.git web`
10
- - switch to the `gh-pages` branch in the embedded clone and delete the `master` branch
11
-
12
- ```bash
13
- $ cd web/
14
- $ git checkout gh-pages
15
- $ git branch -d master
16
- ```
17
-
18
- ### Regenerating
19
-
20
- We generate Markdown documentation for the utilities in `src/utils/` from the [JSDoc comments](http://usejsdoc.org/ 'JSDoc') included with all exports and/or functions. The [README](../../src/utils/README.md) in `src/utils/` documents how to regenerate these Markdown files; this regeneration should be performed whenever you've added or updated a utility functon and/or the JSDoc for that utility.
21
-
22
- ### Publishing
23
-
24
- To publish revised docs and/or Storybooks, run the following from the root of the `viz/` directory:
25
-
26
- For updating just docs (including the `adidocs/` in `src/utils/`) by building the static [GitBook](https://www.gitbook.com/ 'GitBook') site that we publish to GitHub Pages:
27
-
28
- ```bash
29
- $ npm run build-docs
30
- ```
31
-
32
- Then `cd web/` and review the unstaged changes. Stage & commit the changes you want to make. Finally, "publish" to GitHub pages by pushing to the upstream `gh-pages` branch.
33
-
34
- For updating the Storybooks (again from the root of `viz/`:
35
-
36
- ```bash
37
- $ npm run build-storybooks
38
- ```
39
-
40
- Again navigate into the embedded `web/` directory to review, stage, commit, and push the changes upstream.
@@ -1,5 +0,0 @@
1
- ## Miscellaneous documents
2
-
3
- + [common props](./CommonProps.md)
4
- + [this repo's documentation](./Docs.md)
5
- + [time rendering modes](./TimeRenderingModes.md)
@@ -1,35 +0,0 @@
1
- ## Time rendering modes
2
-
3
- Tidepool supports two rendering "modes" for diabetes device data & notes visualized via the code in this repository (as well as legacy [tideline](https://github.com/tidepool-org/tideline 'GitHub: @tidepool-org/tideline') code): the default timezone-aware rendering and timezone-naΓ―ve rendering. This document explains and demonstrates the difference(s) between these and the utility of each.
4
-
5
- ### Background: `time` and `deviceTime`
6
-
7
- Two of the time-related fields in the [Tidepool data model for diabetes device data](http://developer.tidepool.io/data-model/device-data/common.html 'Tidepool data model docs: common fields') are important to understand as background to the discussion presented in this document; these are [`time`](http://developer.tidepool.io/data-model/device-data/common.html#time 'Tidepool data model docs: time') and [`deviceTime`](http://developer.tidepool.io/data-model/device-data/common.html#devicetime 'Tidepool data model docs: deviceTime').
8
-
9
- `deviceTime` is what it sounds like: the display time on the diabetes device at the time the event occurred. For almost every current Tidepool data source, this is *the* (only) time value that we extract directly from a device's memory.[^a] In the base case, this should be an accurate representation of the clock time for the userβ€”that is, localized to the timezone the user is currently in or was in at the time of the event, assuming the user updates the device display time when switching timezones. Of course, since the display time settings on diabetes devices are subject to manual user control, user error can occur, occasionally with drastic results. We have seen cases where users have accidentally set the display time on their device to the wrong a.m. or p.m. (resulting in `deviceTime`s that are off by exactly twelve hours), to the wrong month, andβ€”more often than one might expect!β€”to the wrong *year*.
10
-
11
- [Bootstrapping to UTC (BtUTC)](http://developer.tidepool.io/chrome-uploader/docs/BootstrappingToUTC.html) is the algorithm we have developed to correct for these types of user errors (as well as the more common challenge of handling the switch between Daylight Saving time and standard time) by inferring the UTC time for each event so that we can plot all the data from a user's many diabetes devices on the same scale with all the data properly aligned. This is the value stored in the `time` field.
12
-
13
- ### Timezone-aware rendering
14
-
15
- The default rendering mode is timezone-aware. This means that all events are rendered on a UTC time scale using the `time` value to determine the placement along this scale. Whenever a time-related value needs to be surfaced to the user, we apply a timezone to this `time` value and surface the result, as this is our best guess at the corresponding local display time for the user (the exception is if the user was traveling in a different timezone for a span of data). Currently (as of November, 2016) we use the `timezone` from the user's most recent [upload metadata](http://developer.tidepool.io/data-model/device-data/types/upload.html#timezone 'Tidepool data model docs: upload.timezone') as the timezone to be applied to the `time` values across the entire history of the user's diabetes device data. This *does* adjust as expected for Daylight Saving time, but does *not* adjust for travel across timezones if the user changed their device display time when switching timezones. In the future, instead of pulling the display timezone from the most recent upload metadata we plan to support a "default timezone for data display" along with other display settings for each user persisted to Tidepool's servers, including preferred blood glucose units (mg/dL or mmol/L) and a user-defined target range for blood glucose values.
16
-
17
- Features of timezone-aware rendering:
18
-
19
- - no gaps or overlaps in data
20
- - all data aligns *except* BGM data in cases of user error setting the BGM time or travel across timezones (because no BGM is currently bootstrap-able)
21
-
22
- ### Timezone-naΓ―ve rendering
23
-
24
- A second rendering mode is available (currently, as of November, 2016) by adding a query parameter to the URL: `?timezone=None` (any string that does not correspond to an actual [IANA timezone](https://www.iana.org/time-zones 'IANA: Time Zone Database') may take the place of `None` here as long as it is not a falsey value in JavaScript such as `null`). This rendering mode also renders the events on the same UTC time scale but using the `deviceTime` *as if it were a true UTC value*. In order to "spoof" a true UTC value from a `deviceTime`, we simply add the string suffix `Z` denoting UTC or "Zulu" time to the valueβ€”that is, a `deviceTime` of `2016-03-15T12:00:00` with no timezone offset information becomes the UTC string `2016-03-15T12:00:00Z`. (The technical reason for performing this string transformation is demonstrated below.)
25
-
26
- To date, timezone-naΓ―ve mode has been most valuable as a debugging tool when investigating data quality issues reported by users. For users whose situations fall into edge cases that BtUTC does not handle, timezone-naΓ―ve rendering may also be the *only* method available to see all diabetes device data aligned.
27
-
28
- Features of timezone-naΓ―ve rendering:
29
-
30
- - gaps and overlaps appear in the data whenever the user has made a significant (i.e., non-["clock drift"](http://developer.tidepool.io/chrome-uploader/docs/BootstrappingToUTC.html#adjustments-for-clock-drift 'BtUTC documentation: Adjustments for clock drift')) change to the display time
31
- - all data aligns as long as there were no user error(s) setting one or more device display times and the user consistently updated device display time across *all* devices when switching timezones and entering/exiting Daylight Saving time (if applicable)
32
-
33
- * * * * *
34
-
35
- [^a]: The exception is Dexcom G5 data imported from HealthKit through one of Tidepool's iOS applications; in this case, we have *no* `deviceTime`, only a true UTC timestampβ€”our `time` fieldβ€”extracted from the iOS HealthKit data model.
@@ -1,6 +0,0 @@
1
- ## per-view documentation
2
-
3
- Following Tidepool's general [documentation guidelines](http://developer.tidepool.io/docs/docs/guidelines.html 'Tidepool Developer Portal: Docs Guideslines'), included here is documentation regarding the implementation of each major data "view" implemented in this repository for inclusion in Tidepool's web application blip.
4
-
5
- - [Device Settings view](../../src/components/settings/README.md)
6
- - [Trends view](./Trends.md)
@@ -1,130 +0,0 @@
1
- ## Trends view
2
-
3
- Table of contents:
4
-
5
- - [user experience](#user-experience)
6
- - [architecture](#architecture)
7
- + [component hierarchy](#component-hierarchy)
8
- - [layout](#layout)
9
- - [tech debt](#tech-debt)
10
-
11
- ### πŸ‘±πŸΎ User experience
12
-
13
- There are two versions of the Trends view, one for displaying trend information based on fingerstick blood glucose data and the other for displaying trend information based on CGM data. The BGM version was developed first, and the CGM version is a more recent addition. A 14-day span of data is the default for this view, although the user can toggle to 7 days or 28 days using selectors displayed in the upper left corner of the display. (In the upper right of the display, the user can toggle days of the week such as Monday, Tuesday, etc. or weekdays vs. weekends off and on.) Both the CGM and CGM versions group all data in the selected span of time by time of day in an effort to show how blood glucose varies for the PwD by time of day. On the BGM version where the data is quite sparse, the data is grouped into three-hour "bins," and on the CGM version thirty-minute bins are used.
14
-
15
- **CGM Trends as of March, 2017**
16
-
17
- ![CGM Trends](./images/cgm_trends.png)
18
-
19
- **BGM Trends as of March, 2017**
20
-
21
- ![BGM Trends](./images/bgm_trends.png)
22
-
23
- Like on the Daily view, hovering over various items in the display will produce a tooltip with more information. In addition, hovering on a segment of a time slice on the CGM version will expose all of the CGM daily sensor traces that intersect with that segment after a short delay (i.e., the pointer must remain on the same segment for a threshold of milliseconds before the exposure of traces is triggered).
24
-
25
- **BGM Date Line Hover**
26
-
27
- ![BGM Date Line Hover](./images/bgm_trends_date_line_hover.png)
28
-
29
- **BGM Individual `smbg` Hover**
30
-
31
- ![BGM Individual `smbg` Hover](./images/bgm_trends_smbg_hover.png)
32
-
33
- **BGM Range Box Hover**
34
-
35
- ![BGM Range Box Hover](./images/bgm_trends_range_hover.png)
36
-
37
- **CGM Segment Hover**
38
-
39
- ![CGM Segment Hover](./images/cgm_trends_segment_hover.gif)
40
-
41
- **CGM Segment Hover + Hold**
42
-
43
- ![CGM Segment Hover + Hold](./images/cgm_trends_segment_hover_hold.png)
44
-
45
- **CGM Segment Hover + Hold on `cbg`**
46
-
47
- ![CGM Segment Hover + Hold on `cbg`](./images/cgm_trends_segment_hover_hold_cbg.png)
48
-
49
- ### πŸ›οΈ Architecture
50
-
51
- Currently only the data visualization itself for the BGM and CGM versions of the Trends view are implemented in this repository: code in blip is still being used for the 7, 14, and 28 days domain size selectors, the day of the week selectors, and of course the visualization sub-header that provides navigation between the views and along the datetime dimension. This makes the interface(s) between the blip and viz code a bit messier than they should be.
52
-
53
- ![Trends view locations of code for elements](./images/trends_code_locations.png)
54
-
55
- #### Component hierarchy
56
-
57
- **CGM Trends**
58
-
59
- ```
60
- └── PatientData
61
- Β Β  └── Trends
62
- Β Β  β”œβ”€β”€ TidelineHeader
63
- Β Β  β”œβ”€β”€ TrendsSubNav
64
- Β Β  β”œβ”€β”€ <div className="patient-data-content">
65
- Β Β  β”‚ β”œβ”€β”€ <div id="tidelineContainer">
66
- Β Β  β”‚ β”‚ └── TrendsContainer
67
- Β Β  β”‚ β”‚ └── TrendsSVGContainer (wrapped in DimensionsHOC)
68
- Β Β  β”‚ β”‚ β”œβ”€β”€ Background
69
- Β Β  β”‚ β”‚ β”œβ”€β”€ XAxisLabels
70
- Β Β  β”‚ β”‚ β”œβ”€β”€ XAxisTicks
71
- Β Β  β”‚ β”‚ β”œβ”€β”€ YAxisLabels
72
- Β Β  β”‚ β”‚ β”œβ”€β”€ <g id="cbgTrends">
73
- Β Β  β”‚ β”‚ β”‚ β”œβ”€β”€ CBGSlicesContainer
74
- Β Β  β”‚ β”‚ β”‚ β”‚ └── <g id="cbgSlices">{48 CBGSliceAnimated, each wrapped in WithDefault HOC}</g>
75
- Β Β  β”‚ β”‚ β”‚ └── CBGDateTracesAnimationContainer
76
- Β Β  β”‚ β”‚ β”‚ └── ReactTransitionGroupPlus
77
- Β Β  β”‚ β”‚ β”‚ └── <g id="cbgDateTraces">{n CBGDateTraceAnimated where n is number of exposed CGM sensor traces}</g>
78
- Β Β  β”‚ β”‚ └── TargetRangeLines
79
- Β Β  β”‚ β”œβ”€β”€ CBGDateTraceLabel
80
- Β Β  β”‚ └── FocusedRangeLabels
81
- Β Β  └── TidelineFooter
82
- ```
83
-
84
- **BGM Trends**
85
-
86
- ```
87
- └── PatientData
88
- Β Β  └── Trends
89
- Β Β  β”œβ”€β”€ TidelineHeader
90
- Β Β  β”œβ”€β”€ TrendsSubNav
91
- Β Β  β”œβ”€β”€ <div className="patient-data-content">
92
- Β Β  β”‚ β”œβ”€β”€ <div id="tidelineContainer">
93
- Β Β  β”‚ β”‚ └── TrendsContainer
94
- Β Β  β”‚ β”‚ └── TrendsSVGContainer (wrapped in DimensionsHOC)
95
- Β Β  β”‚ β”‚ β”œβ”€β”€ Background
96
- Β Β  β”‚ β”‚ β”œβ”€β”€ XAxisLabels
97
- Β Β  β”‚ β”‚ β”œβ”€β”€ XAxisTicks
98
- Β Β  β”‚ β”‚ β”œβ”€β”€ YAxisLabels
99
- Β Β  β”‚ β”‚ β”œβ”€β”€ <g id="smbgTrends">
100
- Β Β  β”‚ β”‚ β”‚ β”œβ”€β”€ SMBGRangeAvgContainer (for range behind smbgs)
101
- Β Β  β”‚ β”‚ β”‚ β”‚ └── <g className="smbgAggContainer">{up to 8 SMBGRangeAnimated (per default 3-hr binning), each wrapped in WithDefault}</g>
102
- Β Β  β”‚ β”‚ β”‚ β”œβ”€β”€ SMBGsByDateContainer
103
- Β Β  β”‚ β”‚ β”‚ β”‚ └── <g id="smbgsByDateContainer">{up to n each of SMBGDateLineAnimated and SMBGDatePointsAnimated where n is # of days in view}</g>
104
- Β Β  β”‚ β”‚ β”‚ β”‚ └── <g id="">
105
- Β Β  β”‚ β”‚ β”‚ └── SMBGRangeAvgContainer (for avg in front of smbgs)
106
- Β Β  β”‚ β”‚ β”‚ β”‚ └── <g className="smbgAggContainer">{up to 8 SMBGMeanAnimated (per default 3-hr binning), each wrapped in WithDefault}</g>
107
- Β Β  β”‚ β”‚ └── TargetRangeLines
108
- Β Β  β”‚ └── FocusedRangeLabels
109
- Β Β  └── TidelineFooter
110
- ```
111
-
112
- ### πŸ“ Layout
113
-
114
- The variables involved in the layout of the data display inside the Trends viewβ€”that is, the code for Trends view contained in this repositoryβ€”are as follows, all originating in the `TrendsSVGContainer`:
115
-
116
- - `containerHeight` and `containerWidth` are the dimensions of the `<div id="tidelineContainer">` that the data portion of every view is rendered within. These are provided on `TrendsSVGContainer` as props via the `Dimensions` higher-order component (HOC) that wraps the SVG container. This `Dimensions` HOC is an external dependency from the [`react-dimensions`](https://github.com/digidem/react-dimensions 'GitHub: react-dimensions').
117
- - The `MARGINS` (a constant of `top`, `bottom`, `left`, and `right` properties) are the space outside the data display area (gray box) that provide padding around the data display area and space for the x- and y-axis ticks and labels.
118
- - The `BUMPERS` (a constant of `top` and `bottom` properties) are the internal padding in the data display area.
119
-
120
- Altogether, in diagram form (though **not to scale**):
121
-
122
- ![Trends layout](./images/tidelineContainer@2x.png 'Trends layout')
123
-
124
- ### πŸ’£ Tech Debt
125
-
126
- - When you hover a date line on the smbg side of Trends, instead of properly pulling the line to the top we just render a second version of the line on top.
127
-
128
- ### πŸš€ The Future
129
-
130
- At present the `<div id="tidelineContainer">` is given a fixed size via blip's styling, but as we introduce responsiveness in blip, we will be able to leverage the behavior of the `Dimensions` HOC to make the dataviz responsive. `Dimensions` will update the `containerHeight` and `containerWidth` props on `TrendsSVGContainer` on window resize, and then by implementing a `componentWillReceiveProps` on `TrendsSVGContainer` we will be able to adjust the dimensions of the rendered SVG and the ranges of the x and y scales created with D3 to respond to the new viewport size.
Binary file
Binary file
package/postcss.config.js DELETED
@@ -1,6 +0,0 @@
1
- const calc = require('postcss-calc');
2
- const cssVariables = require('postcss-custom-properties');
3
-
4
- module.exports = {
5
- plugins: [calc, cssVariables],
6
- };