Playing with Scales in D3

First scale, mapping values to new values:

0, 10, 30, 20, 50, 40, 70, 60, 90, 80, 100

Linear Color scale:

24

54

65

100

23

43

2

35

76

47

Ordinal color scale:

Apple

Orange

Pineapple

Cherry

Kumquat

China

Russia

Japan

India

France

Syria

Madagascar

SUV

This is another ordinal scale, with data mapped to specific values:

apples

oranges

lemons

blueberries

lemons

oranges