DH - Ruby Car Data 2.rb
# Source
# https://github.com/vega/vega/blob/master/docs/data/cars.json
FORD_MAVERICK_DATA = {
Name: "ford maverick",
Miles_per_Gallon: 21,
Cylinders: 6,
Displacement: 200,
Horsepower: 85,
Weight_in_lbs: 2587,
Acceleration: 16,
Year: "1970-01-01",
Origin: "USA",
}
FORD_RANGER_DATA = {
Name: "ford ranger",
Miles_per_Gallon: 28,
Cylinders: 4,
Displacement: 120,
Horsepower: 79,
Weight_in_lbs: 2625,
Acceleration: 18.6,
Year: "1982-01-01",
Origin: "USA",
}
TOYOTA_CORONA_DATA = {
Name: "toyota corona",
Miles_per_Gallon: 25,
Cylinders: 4,
Displacement: 113,
Horsepower: 95,
Weight_in_lbs: 2228,
Acceleration: 14,
Year: "1971-01-01",
Origin: "Japan",
}