Skip to content

Commit 6cff33c

Browse files
committed
renamed in dumbbell plot
1 parent 0880cda commit 6cff33c

16 files changed

Lines changed: 11 additions & 11 deletions

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Lollipop Plot for RAWGraphs
1+
# Dumbbell Plot for RAWGraphs
22

33
This custom chart is intended to be used inside the [RAWGraphs app](https://app.rawgraphs.io/).
44

5-
## What is a Lollipop Plot
5+
## What is a Dumbbell Plot
66

7-
A lollipop plot with two values compares two numeric measurements for a set of entities. Each entity is represented as a horizontal line segment connecting the two values, with configurable markers at each end (circle, square, arrow, star, or vertical line). The gap and direction of the segment immediately communicate the magnitude and direction of change between the two readings.
7+
A dumbbell plot with two values compares two numeric measurements for a set of entities. Each entity is represented as a horizontal line segment connecting the two values, with configurable markers at each end (circle, square, arrow, star, or vertical line). The gap and direction of the segment immediately communicate the magnitude and direction of change between the two readings.
88

99
The chart is particularly effective when comparing values at two points in time, between two categories, or across two conditions. Sorting rows by difference, by one of the values, or alphabetically makes patterns and outliers easy to spot.
1010

@@ -17,7 +17,7 @@ An optional group dimension colors each row, exposing sub-categories within the
1717
- In section `2. Choose a chart`, scroll down and click `Load your chart`.
1818
- Select the `Load from file` tab, then drag and drop the downloaded file.
1919
- Click `Load your chart`, acknowledge the pop-up about external code, and continue.
20-
- The Lollipop Plot will now be available in your chart list.
20+
- The Dumbbell Plot will now be available in your chart list.
2121

2222
## Contribute
2323

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import dotplot from 'customcharts/dotplot'
2-
import data from '../datasets/dotplot.csv'
1+
import dumbbell from 'customcharts/dumbbell'
2+
import data from '../datasets/dumbbell_test.csv'
33

44
export default {
5-
chart: dotplot,
5+
chart: dumbbell,
66
data,
77
dataTypes: {
88
category: 'string',
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import dotplot from 'customcharts/dotplot'
1+
import dumbbell from 'customcharts/dumbbell'
22
import data from '../datasets/gender_paygap_2004_2020.csv'
33

44
export default {
5-
chart: dotplot,
5+
chart: dumbbell,
66
data,
77
dataTypes: {
88
country: 'string',

src/dotplot/index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/dumbbell/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from './dumbbell'

0 commit comments

Comments
 (0)