Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Deleted unnecesary files from protovis

  • Loading branch information...
commit d2cb8dcd80a7e986a704b9532cf22135807e16f5 1 parent 09368be
@clbustos authored
Showing with 2 additions and 28,636 deletions.
  1. +2 −0  .gitignore
  2. +0 −62 vendor/FUTURE
  3. +0 −138 vendor/Makefile
  4. +0 −22 vendor/TODO
  5. +0 −113 vendor/examples/antibiotics/antibiotics-scatter.html
  6. +0 −140 vendor/examples/antibiotics/antibiotics.html
  7. +0 −20 vendor/examples/antibiotics/antibiotics.js
  8. +0 −102 vendor/examples/barley/barley.html
  9. +0 −122 vendor/examples/barley/barley.js
  10. +0 −90 vendor/examples/cars/cars.html
  11. +0 −408 vendor/examples/cars/cars.js
  12. +0 −91 vendor/examples/clock/clock.html
  13. +0 −65 vendor/examples/crimea/crimea-grouped-bar.html
  14. +0 −61 vendor/examples/crimea/crimea-line.html
  15. +0 −61 vendor/examples/crimea/crimea-stacked-area.html
  16. +0 −60 vendor/examples/crimea/crimea-stacked-bar.html
  17. +0 −100 vendor/examples/crimea/crimea.html
  18. +0 −33 vendor/examples/crimea/crimea.js
  19. +0 −22 vendor/examples/downloadify/LICENSE.txt
  20. BIN  vendor/examples/downloadify/download.png
  21. +0 −57 vendor/examples/downloadify/downloadify.html
  22. +0 −3  vendor/examples/downloadify/downloadify.min.js
  23. BIN  vendor/examples/downloadify/downloadify.swf
  24. +0 −4 vendor/examples/downloadify/swfobject.js
  25. +0 −17 vendor/examples/ex.css
  26. +0 −53 vendor/examples/eyes/eyes.html
  27. +0 −44 vendor/examples/eyes/matrix.html
  28. +0 −109 vendor/examples/flowers/flowers.html
  29. +0 −154 vendor/examples/flowers/flowers.js
  30. +0 −79 vendor/examples/group-stack/group-stack.html
  31. +0 −23 vendor/examples/group-stack/headcount.js
  32. +0 −76 vendor/examples/hotel/hotel.html
  33. +0 −245 vendor/examples/hotel/hotel.js
  34. +0 −71 vendor/examples/jobs/jobs.html
  35. +0 −1,024 vendor/examples/jobs/jobs.js
  36. +0 −154 vendor/examples/jquery-1.4.2.min.js
  37. +0 −83 vendor/examples/nba/nba.html
  38. +0 −53 vendor/examples/nba/nba.js
  39. +0 −82 vendor/examples/nba/nba2.html
  40. +0 −184 vendor/examples/sankey/gdp2009.js
  41. +0 −77 vendor/examples/sankey/sankey.html
  42. +0 −112 vendor/examples/slider/cell.html
  43. +0 −31 vendor/examples/slider/cell.js
  44. +0 −85 vendor/examples/slider/horizon.html
  45. +0 −71 vendor/examples/slider/jquery-ui-1.8rc3.custom.min.js
  46. +0 −50 vendor/examples/slider/slider.html
  47. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
  48. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
  49. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
  50. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
  51. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
  52. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
  53. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
  54. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
  55. BIN  vendor/examples/slider/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
  56. +0 −2  vendor/examples/slider/ui-lightness/images/ui-icons_222222_256x240.png
  57. +0 −2  vendor/examples/slider/ui-lightness/images/ui-icons_228ef1_256x240.png
  58. +0 −2  vendor/examples/slider/ui-lightness/images/ui-icons_ef8c08_256x240.png
  59. +0 −2  vendor/examples/slider/ui-lightness/images/ui-icons_ffd27a_256x240.png
  60. +0 −2  vendor/examples/slider/ui-lightness/images/ui-icons_ffffff_256x240.png
  61. +0 −302 vendor/examples/slider/ui-lightness/jquery-ui-1.8rc3.custom.css
  62. +0 −198 vendor/examples/tipsy/jquery.tipsy.js
  63. +0 −65 vendor/examples/tipsy/tipsy-bar.html
  64. +0 −67 vendor/examples/tipsy/tipsy-line.html
  65. +0 −12 vendor/examples/tipsy/tipsy.css
  66. BIN  vendor/examples/tipsy/tipsy.gif
  67. +0 −66 vendor/examples/tipsy/tipsy.js
  68. +0 −86 vendor/examples/weather/weather.html
  69. +0 −42 vendor/examples/weather/weather.js
  70. +0 −130 vendor/examples/wheat/wheat.html
  71. +0 −70 vendor/examples/wheat/wheat.js
  72. +0 −202 vendor/lib/google-compiler/COPYING
  73. +0 −224 vendor/lib/google-compiler/README
  74. BIN  vendor/lib/google-compiler/compiler-20100201.jar
  75. +0 −15,726 vendor/protovis-d3.3.js
  76. 0  vendor/{ → protovis}/protovis-r3.3.js
  77. 0  vendor/{ → protovis}/src/behavior/Behavior.js
  78. 0  vendor/{ → protovis}/src/behavior/Drag.js
  79. 0  vendor/{ → protovis}/src/behavior/Pan.js
  80. 0  vendor/{ → protovis}/src/behavior/Point.js
  81. 0  vendor/{ → protovis}/src/behavior/Resize.js
  82. 0  vendor/{ → protovis}/src/behavior/Select.js
  83. 0  vendor/{ → protovis}/src/behavior/Zoom.js
  84. 0  vendor/{ → protovis}/src/color/Color.js
  85. 0  vendor/{ → protovis}/src/color/Colors.js
  86. 0  vendor/{ → protovis}/src/color/Ramp.js
  87. 0  vendor/{ → protovis}/src/data/Arrays.js
  88. 0  vendor/{ → protovis}/src/data/Dom.js
  89. 0  vendor/{ → protovis}/src/data/Flatten.js
  90. 0  vendor/{ → protovis}/src/data/Histogram.js
  91. 0  vendor/{ → protovis}/src/data/LinearScale.js
  92. 0  vendor/{ → protovis}/src/data/LogScale.js
  93. 0  vendor/{ → protovis}/src/data/Nest.js
  94. 0  vendor/{ → protovis}/src/data/Numbers.js
  95. 0  vendor/{ → protovis}/src/data/Objects.js
  96. 0  vendor/{ → protovis}/src/data/OrdinalScale.js
  97. 0  vendor/{ → protovis}/src/data/QuantileScale.js
  98. 0  vendor/{ → protovis}/src/data/QuantitativeScale.js
  99. 0  vendor/{ → protovis}/src/data/RootScale.js
  100. 0  vendor/{ → protovis}/src/data/Scale.js
  101. 0  vendor/{ → protovis}/src/data/Transform.js
  102. 0  vendor/{ → protovis}/src/data/Tree.js
  103. 0  vendor/{ → protovis}/src/data/Vector.js
  104. 0  vendor/{ → protovis}/src/geo/Geo.js
  105. 0  vendor/{ → protovis}/src/geo/GeoScale.js
  106. 0  vendor/{ → protovis}/src/geo/LatLng.js
  107. 0  vendor/{ → protovis}/src/geo/Projection.js
  108. 0  vendor/{ → protovis}/src/geo/Projections.js
  109. 0  vendor/{ → protovis}/src/lang/Array.js
  110. 0  vendor/{ → protovis}/src/lang/init.js
  111. 0  vendor/{ → protovis}/src/layout/Arc.js
  112. 0  vendor/{ → protovis}/src/layout/Bullet.js
  113. 0  vendor/{ → protovis}/src/layout/Cluster.js
  114. 0  vendor/{ → protovis}/src/layout/Force.js
  115. 0  vendor/{ → protovis}/src/layout/Grid.js
  116. 0  vendor/{ → protovis}/src/layout/Hierarchy.js
  117. 0  vendor/{ → protovis}/src/layout/Horizon.js
  118. 0  vendor/{ → protovis}/src/layout/Indent.js
  119. 0  vendor/{ → protovis}/src/layout/Layout.js
  120. 0  vendor/{ → protovis}/src/layout/Matrix.js
  121. 0  vendor/{ → protovis}/src/layout/Network.js
  122. 0  vendor/{ → protovis}/src/layout/Pack.js
  123. 0  vendor/{ → protovis}/src/layout/Partition.js
  124. 0  vendor/{ → protovis}/src/layout/Rollup.js
  125. 0  vendor/{ → protovis}/src/layout/Stack.js
  126. 0  vendor/{ → protovis}/src/layout/Tree.js
  127. 0  vendor/{ → protovis}/src/layout/Treemap.js
  128. 0  vendor/{ → protovis}/src/mark/Anchor.js
  129. 0  vendor/{ → protovis}/src/mark/Area.js
  130. 0  vendor/{ → protovis}/src/mark/Bar.js
  131. 0  vendor/{ → protovis}/src/mark/Dot.js
  132. 0  vendor/{ → protovis}/src/mark/Ease.js
  133. 0  vendor/{ → protovis}/src/mark/Image.js
  134. 0  vendor/{ → protovis}/src/mark/Label.js
  135. 0  vendor/{ → protovis}/src/mark/Line.js
  136. 0  vendor/{ → protovis}/src/mark/Mark.js
  137. 0  vendor/{ → protovis}/src/mark/Panel.js
  138. 0  vendor/{ → protovis}/src/mark/Rule.js
  139. 0  vendor/{ → protovis}/src/mark/Transient.js
  140. 0  vendor/{ → protovis}/src/mark/Transition.js
  141. 0  vendor/{ → protovis}/src/mark/Wedge.js
  142. 0  vendor/{ → protovis}/src/physics/BoundConstraint.js
  143. 0  vendor/{ → protovis}/src/physics/ChargeForce.js
  144. 0  vendor/{ → protovis}/src/physics/CollisionConstraint.js
  145. 0  vendor/{ → protovis}/src/physics/Constraint.js
  146. 0  vendor/{ → protovis}/src/physics/DragForce.js
  147. 0  vendor/{ → protovis}/src/physics/Force.js
  148. 0  vendor/{ → protovis}/src/physics/Particle.js
  149. 0  vendor/{ → protovis}/src/physics/PositionConstraint.js
  150. 0  vendor/{ → protovis}/src/physics/Quadtree.js
  151. 0  vendor/{ → protovis}/src/physics/Simulation.js
  152. 0  vendor/{ → protovis}/src/physics/SpringForce.js
  153. 0  vendor/{ → protovis}/src/pv-internals.js
  154. 0  vendor/{ → protovis}/src/pv.js
  155. 0  vendor/{ → protovis}/src/scene/SvgArea.js
  156. 0  vendor/{ → protovis}/src/scene/SvgBar.js
  157. 0  vendor/{ → protovis}/src/scene/SvgCurve.js
  158. 0  vendor/{ → protovis}/src/scene/SvgDot.js
  159. 0  vendor/{ → protovis}/src/scene/SvgImage.js
  160. 0  vendor/{ → protovis}/src/scene/SvgLabel.js
  161. 0  vendor/{ → protovis}/src/scene/SvgLine.js
  162. 0  vendor/{ → protovis}/src/scene/SvgPanel.js
  163. 0  vendor/{ → protovis}/src/scene/SvgRule.js
  164. 0  vendor/{ → protovis}/src/scene/SvgScene.js
  165. 0  vendor/{ → protovis}/src/scene/SvgWedge.js
  166. 0  vendor/{ → protovis}/src/text/DateFormat.js
  167. 0  vendor/{ → protovis}/src/text/Format.js
  168. 0  vendor/{ → protovis}/src/text/NumberFormat.js
  169. 0  vendor/{ → protovis}/src/text/TimeFormat.js
  170. +0 −30 vendor/test1.html
  171. +0 −47 vendor/tests/behavior/drag-events.html
  172. +0 −32 vendor/tests/behavior/drag.html
  173. +0 −33 vendor/tests/behavior/drag2.html
  174. +0 −73 vendor/tests/behavior/point-area-stacked.html
  175. +0 −70 vendor/tests/behavior/point-area-stacked2.html
  176. +0 −67 vendor/tests/behavior/point-area.html
  177. +0 −62 vendor/tests/behavior/point-bar.html
  178. +0 −60 vendor/tests/behavior/point-dot.html
  179. +0 −62 vendor/tests/behavior/point-line.html
  180. +0 −65 vendor/tests/behavior/point-lines-grid.html
  181. +0 −61 vendor/tests/behavior/point-lines.html
  182. +0 −43 vendor/tests/behavior/point-wedge.html
  183. +0 −69 vendor/tests/behavior/resize.html
  184. +0 −37 vendor/tests/behavior/select.html
  185. +0 −62 vendor/tests/bzr.js
  186. +0 −13 vendor/tests/center.js
  187. +0 −54 vendor/tests/data/deviation.html
  188. +0 −50 vendor/tests/data/histogram-discrete.html
  189. +0 −56 vendor/tests/data/histogram.html
  190. +0 −48 vendor/tests/data/log-adjusted.html
  191. +0 −48 vendor/tests/data/log-ceil.html
  192. +0 −48 vendor/tests/data/log-floor.html
  193. +0 −48 vendor/tests/data/log-symmetric.html
  194. +0 −48 vendor/tests/data/log.html
  195. +0 −36 vendor/tests/data/max-index.html
  196. +0 −36 vendor/tests/data/max.html
  197. +0 −36 vendor/tests/data/min-index.html
  198. +0 −36 vendor/tests/data/min.html
  199. +0 −45 vendor/tests/data/ordinal-split-banded.html
  200. +0 −45 vendor/tests/data/ordinal-split-banded2.html
  201. +0 −51 vendor/tests/data/ordinal-split-flush.html
  202. +0 −51 vendor/tests/data/ordinal-split.html
  203. +0 −105 vendor/tests/data/range.html
  204. +0 −46 vendor/tests/data/scale-date.html
  205. +0 −38 vendor/tests/data/scale-date2.html
  206. +0 −38 vendor/tests/data/scale-date3.html
  207. +0 −38 vendor/tests/data/scale-date4.html
  208. +0 −143 vendor/tests/data/scale-degenerate.html
  209. +0 −59 vendor/tests/data/scale-linear.html
  210. +0 −60 vendor/tests/data/scale-log.html
  211. +0 −60 vendor/tests/data/scale-log2.html
  212. +0 −60 vendor/tests/data/scale-log3.html
  213. +0 −60 vendor/tests/data/scale-log4.html
  214. +0 −60 vendor/tests/data/scale-log5.html
  215. +0 −60 vendor/tests/data/scale-log6.html
  216. +0 −47 vendor/tests/data/scale-quantile.html
  217. +0 −50 vendor/tests/data/scale-quantile2.html
  218. +0 −48 vendor/tests/data/scale-quantile3.html
  219. +0 −60 vendor/tests/data/scale-root.html
  220. +0 −39 vendor/tests/data/scale-root2.html
  221. +0 −54 vendor/tests/data/scale-tick-format.html
  222. +0 −45 vendor/tests/data/scale-ticks.html
  223. +0 −42 vendor/tests/data/sum.html
  224. +0 −42 vendor/tests/data/variance.html
  225. +0 −40 vendor/tests/diamond.js
  226. +0 −222 vendor/tests/flare-imports.js
  227. +0 −284 vendor/tests/flare.js
  228. +0 −257 vendor/tests/geo/countries-hires.js
  229. +0 −197 vendor/tests/geo/countries-lores.js
  230. +0 −250 vendor/tests/geo/population.js
  231. +0 −58 vendor/tests/geo/scale-aitoff.html
  232. +0 −56 vendor/tests/geo/scale-gall-peters.html
  233. +0 −58 vendor/tests/geo/scale-hammer.html
  234. +0 −56 vendor/tests/geo/scale-identity.html
  235. +0 −56 vendor/tests/geo/scale-mercator.html
  236. +0 −57 vendor/tests/geo/scale-sinusoidal.html
  237. +0 −58 vendor/tests/geo/scale-smart-domain.html
  238. +0 −55 vendor/tests/geo/scale.html
  239. +0 −40 vendor/tests/geo/scale2.html
  240. +0 −61 vendor/tests/geo/us-states.js
  241. +0 −63 vendor/tests/heatmap.js
  242. +0 −41 vendor/tests/lang/globals.html
  243. +0 −31 vendor/tests/lang/init.html
  244. +0 −28 vendor/tests/layers.js
  245. +0 −33 vendor/tests/layout/arc-directed.html
  246. +0 −36 vendor/tests/layout/arc-radial.html
  247. +0 −32 vendor/tests/layout/arc-undirected.html
  248. +0 −33 vendor/tests/layout/arc.html
  249. +0 −32 vendor/tests/layout/arc2.html
  250. +0 −60 vendor/tests/layout/bullet-multiples.html
  251. +0 −45 vendor/tests/layout/bullet.html
  252. +0 −37 vendor/tests/layout/bullets.js
  253. +0 −24 vendor/tests/layout/cluster-fill-group.html
  254. +0 −28 vendor/tests/layout/cluster-fill.html
  255. +0 −43 vendor/tests/layout/cluster-partition-radial-fill.html
  256. +0 −26 vendor/tests/layout/cluster-radial-fill-radius.html
  257. +0 −29 vendor/tests/layout/cluster-radial-fill.html
  258. +0 −30 vendor/tests/layout/cluster-radial-group-fill.html
  259. +0 −30 vendor/tests/layout/cluster-radial-radius.html
  260. +0 −28 vendor/tests/layout/cluster-radial.html
  261. +0 −33 vendor/tests/layout/cluster-radial2.html
  262. +0 −34 vendor/tests/layout/cluster.html
  263. +0 −32 vendor/tests/layout/cluster2.html
  264. +0 −46 vendor/tests/layout/force-toggle.html
  265. +0 −45 vendor/tests/layout/force.html
  266. +0 −58 vendor/tests/layout/force2.html
  267. +0 −41 vendor/tests/layout/force3.html
  268. +0 −45 vendor/tests/layout/force4.html
  269. +0 −53 vendor/tests/layout/force5.html
  270. +0 −31 vendor/tests/layout/grid-cols.html
  271. +0 −25 vendor/tests/layout/grid-heatmap.html
  272. +0 −31 vendor/tests/layout/grid-rows.html
  273. +0 −34 vendor/tests/layout/grid.html
  274. +0 −31 vendor/tests/layout/horizon-color.html
  275. +0 −31 vendor/tests/layout/horizon.html
  276. +0 −62 vendor/tests/layout/indent-toggle.html
  277. +0 −25 vendor/tests/layout/indent.html
  278. +0 −33 vendor/tests/layout/indent2.html
  279. +0 −28 vendor/tests/layout/matrix-sort.html
  280. +0 −35 vendor/tests/layout/matrix.html
  281. +0 −43 vendor/tests/layout/network.html
  282. +0 −45 vendor/tests/layout/pack-bubble.html
  283. +0 −26 vendor/tests/layout/pack.html
  284. +0 −32 vendor/tests/layout/pack2.html
  285. +0 −27 vendor/tests/layout/partition-fill.html
  286. +0 −22 vendor/tests/layout/partition-fill2.html
  287. +0 −27 vendor/tests/layout/partition-fill3.html
  288. +0 −25 vendor/tests/layout/partition-radial-fill-radius.html
  289. +0 −26 vendor/tests/layout/partition-radial-fill.html
  290. +0 −23 vendor/tests/layout/partition-radial-fill2.html
  291. +0 −29 vendor/tests/layout/partition-radial-fill3.html
  292. +0 −29 vendor/tests/layout/partition-radial-radius.html
  293. +0 −30 vendor/tests/layout/partition-radial.html
  294. +0 −33 vendor/tests/layout/partition-radial2.html
  295. +0 −33 vendor/tests/layout/partition.html
  296. +0 −32 vendor/tests/layout/partition2.html
  297. +0 −50 vendor/tests/layout/rollup.html
  298. +0 −27 vendor/tests/layout/stack-empty.html
  299. +0 −41 vendor/tests/layout/stack-expand.html
  300. +0 −42 vendor/tests/layout/stack-reverse.html
Sorry, we could not display the entire diff because too many files (416) changed.
View
2  .gitignore
@@ -2,3 +2,5 @@
*~
doc/*
pkg/*
+vendor/protovis/tests
+vendor/protovis/lib
View
62 vendor/FUTURE
@@ -1,62 +0,0 @@
-*
-- use === and !== instead of == and !=
-- force type conversion of input arguments in public API?
-- use array push rather than string concatentation to improve performance?
-- use Object.create instead of pv.extend, if available
-
-data/?
-- AJAX helper? or refer to jQuery
-
-data/Scale.js
-- allow customization of data ticks (e.g., "3 months", "5 minutes")
-- greedily convert range to the expected type (for colors?)
-- ignore undefined values when computing min/max for domains
-
-mark/Mark.js
-- event handlers should be inherited?
-- antialias doesn't always work as expected; requires pixel rounding?
-- allow mixin rather than single inheritance?
-- linear and radial gradient fills
-- pattern fills
-- drop shadows, blurring, other graphical effects?
-- animation
-- faster incremental rendering (detect properties)
-- remove first, last, cousin, sibling methods?
-- dot-dash strokes using stroke-dasharray
-
-mark/Bar.js
-- rounded corners
-
-mark/Line.js
-- support fillStyle on segmented lines
-- spline interpolation
-- arrows (markers)?
-
-mark/Label.js
-- text metrics API for smart label placement
-
-mark/Area.js
-- spline interpolation
-
-mark/Area.Radial.js
-mark/Line.Radial.js
-mark/Bar.Radial.js
-
-mark/Image.js
-- scale / tile / center / fill / preserveAspectRatio
-
-physics/LinkConstraint.js
-- should support an alpha parameter, like pv.Constraint.position
-
-layout/Tree.js
-- allow depth and breadth offset to be computed automatically
-
-layout/Force.js
-- smarter default rest length / charge force constant
-
-behavior/Pan.js
-- custom bounds
-- lock one axis
-
-behavior/Point.js
-- compute true distance from mouse to perimeter (e.g., wedge)
View
138 vendor/Makefile
@@ -1,138 +0,0 @@
-JS_LANG_FILES = \
- src/lang/Array.js
-
-JS_CORE_FILES = \
- src/pv.js \
- src/pv-internals.js \
- src/lang/init.js \
- src/text/Format.js \
- src/text/DateFormat.js \
- src/text/TimeFormat.js \
- src/text/NumberFormat.js \
- src/data/Arrays.js \
- src/data/Numbers.js \
- src/data/Objects.js \
- src/data/Dom.js \
- src/data/Tree.js \
- src/data/Nest.js \
- src/data/Flatten.js \
- src/data/Vector.js \
- src/data/Transform.js \
- src/data/Scale.js \
- src/data/QuantitativeScale.js \
- src/data/LinearScale.js \
- src/data/LogScale.js \
- src/data/RootScale.js \
- src/data/OrdinalScale.js \
- src/data/QuantileScale.js \
- src/data/Histogram.js \
- src/color/Color.js \
- src/color/Colors.js \
- src/color/Ramp.js \
- src/scene/SvgScene.js \
- src/scene/SvgCurve.js \
- src/scene/SvgArea.js \
- src/scene/SvgBar.js \
- src/scene/SvgDot.js \
- src/scene/SvgImage.js \
- src/scene/SvgLabel.js \
- src/scene/SvgLine.js \
- src/scene/SvgPanel.js \
- src/scene/SvgRule.js \
- src/scene/SvgWedge.js \
- src/mark/Mark.js \
- src/mark/Anchor.js \
- src/mark/Area.js \
- src/mark/Bar.js \
- src/mark/Dot.js \
- src/mark/Label.js \
- src/mark/Line.js \
- src/mark/Rule.js \
- src/mark/Panel.js \
- src/mark/Image.js \
- src/mark/Wedge.js \
- src/mark/Ease.js \
- src/mark/Transition.js \
- src/mark/Transient.js
-
-JS_LAYOUT_FILES = \
- src/physics/Particle.js \
- src/physics/Simulation.js \
- src/physics/Quadtree.js \
- src/physics/Force.js \
- src/physics/ChargeForce.js \
- src/physics/DragForce.js \
- src/physics/SpringForce.js \
- src/physics/Constraint.js \
- src/physics/CollisionConstraint.js \
- src/physics/PositionConstraint.js \
- src/physics/BoundConstraint.js \
- src/layout/Layout.js \
- src/layout/Network.js \
- src/layout/Hierarchy.js \
- src/layout/Grid.js \
- src/layout/Stack.js \
- src/layout/Treemap.js \
- src/layout/Tree.js \
- src/layout/Indent.js \
- src/layout/Pack.js \
- src/layout/Force.js \
- src/layout/Cluster.js \
- src/layout/Partition.js \
- src/layout/Arc.js \
- src/layout/Horizon.js \
- src/layout/Rollup.js \
- src/layout/Matrix.js \
- src/layout/Bullet.js \
- src/behavior/Behavior.js \
- src/behavior/Drag.js \
- src/behavior/Point.js \
- src/behavior/Select.js \
- src/behavior/Resize.js \
- src/behavior/Pan.js \
- src/behavior/Zoom.js
-
-JS_GEO_FILES = \
- src/geo/Geo.js \
- src/geo/LatLng.js \
- src/geo/Projection.js \
- src/geo/Projections.js \
- src/geo/GeoScale.js
-
-JS_FILES = \
- $(JS_LANG_FILES) \
- $(JS_CORE_FILES) \
- $(JS_LAYOUT_FILES) \
- $(JS_GEO_FILES)
-
-JS_COMPILER = \
- java -jar lib/google-compiler/compiler-20100201.jar \
- --charset UTF-8 \
- --warning_level=QUIET
-
-JSDOC_HOME = /Library/jsdoc-toolkit
-JSDOC = java -jar $(JSDOC_HOME)/jsrun.jar $(JSDOC_HOME)/app/run.js
-
-all: protovis-d3.3.js protovis-r3.3.js
-protovis-d3.3.js: $(JS_FILES)
-protovis-r3.3.js: $(JS_FILES)
-
-%-d3.3.js: Makefile
- grep ' ' -Hn $(filter %.js,$^) && echo "ERROR: tab" && exit 1 || true
- grep '
-' -Hn $(filter %.js,$^) && echo "ERROR: dos newline" && exit 1 || true
- grep ' $$' -Hn $(filter %.js,$^) && echo "ERROR: trailing space" && exit 1 || true
- rm -f $@
- echo "// $(shell git rev-parse HEAD)" >> $@
- cat $(filter %.js,$^) >> $@
-
-%-r3.3.js:: Makefile
- rm -f $@
- echo "// $(shell git rev-parse --short HEAD)" >> $@
- cat $(filter %.js,$^) | $(JS_COMPILER) >> $@
-
-jsdoc: $(JS_FILES) Makefile
- rm -rf jsdoc
- $(JSDOC) -a -t=$(JSDOC_HOME)/templates/jsdoc -d=$@ -E="^pv-" $(JS_FILES)
-
-clean:
View
22 vendor/TODO
@@ -1,22 +0,0 @@
-layout/Layout.js
-- standardize which attributes are populated
-- add support for sort() functions as appropriate (e.g., arc)
-
-mark/Mark.js
-- partial redraw for newly-added marks
-
-mark/Panel.js
-- remove()
-- query the visible region (avoid transform invert in panel-transform.html)?
-
-mark/Anchor.js
-- {min,max}:name "singleton" anchors for center labeling on area and line?
-
-geo/GeoScale.js
-- determine center point of projection from domain
-- standardize on GeoJSON representation
-- include shapefile -> GeoJSON convertors or link to them
-
-*
-- documentation
-- port examples
View
113 vendor/examples/antibiotics/antibiotics-scatter.html
@@ -1,113 +0,0 @@
-<html>
- <head>
- <title>Antibiotic Effectiveness</title>
- <link type="text/css" href="../ex.css" rel="stylesheet"/>
- <script type="text/javascript" src="../../protovis-r3.3.js"></script>
- <script type="text/javascript" src="antibiotics.js"></script>
- <style type="text/css">
-
-#fig {
- height: 638px;
- width: 608px;
-}
-
- </style>
- </head>
- <body><div id="center"><div id="fig">
- <script type="text/javascript+protovis">
-
-var s = 180,
- p = 20,
- z = pv.Scale.log(0.001, 1000).range(0, s),
- color = pv.colors("darkred", "darkblue").by(function(d) d.gram),
- ticks = pv.range(-2, 3).map(function(e) Math.pow(10, e));
-
-/* Root panel. */
-var vis = new pv.Panel()
- .height(s * antibiotics.length + p * (antibiotics.length - 1))
- .width(function() this.height())
- .top(14.5)
- .left(14.5)
- .bottom(44)
- .right(14);
-
-/* Cell for each antibiotic pair. */
-var cell = vis.add(pv.Panel)
- .data(antibiotics)
- .width(s)
- .left(function() (s + p) * this.index)
- .add(pv.Panel)
- .data(antibiotics)
- .height(s)
- .top(function() (s + p) * this.index);
-
-/* Label. */
-cell.anchor("center").add(pv.Label)
- .visible(function(d, y, x) x == y)
- .font("bold 14px sans-serif")
- .text(function(d, y, x) x);
-
-/* Dot plot and frame. */
-var plot = cell.add(pv.Panel)
- .data(function(y, x) [x])
- .visible(function(x, y) x != y)
- .strokeStyle("#aaa");
-
-/* Ticks. */
-var tick = new pv.Rule()
- .visible(function(d, x, y) x != y)
- .data(ticks)
- .strokeStyle("#ddd");
-
-/* X-axis ticks. */
-var xtick = plot.add(pv.Rule)
- .extend(tick)
- .left(z);
-
-/* Bottom and top labels. */
-xtick.anchor("bottom").add(pv.Label)
- .visible(function() cell.index == antibiotics.length - 1);
-xtick.anchor("top").add(pv.Label)
- .visible(function() cell.index == 0);
-
-/* Y-axis ticks. */
-var ytick = plot.add(pv.Rule)
- .extend(tick)
- .bottom(z);
-
-/* Bottom and top labels. */
-ytick.anchor("right").add(pv.Label)
- .visible(function() cell.parent.index == antibiotics.length - 1)
- .textAngle(Math.PI / 2)
- .textBaseline("bottom")
- .textAlign("center");
-ytick.anchor("left").add(pv.Label)
- .visible(function() cell.parent.index == 0)
- .textAngle(-Math.PI / 2)
- .textBaseline("bottom")
- .textAlign("center");
-
-/* Dot plot. */
-var dot = plot.add(pv.Dot)
- .data(bacteria)
- .strokeStyle(color)
- .fillStyle(function() this.strokeStyle().alpha(.2))
- .left(function(d, x, y) z(d[x]))
- .bottom(function(d, x, y) z(d[y]))
- .title(function(d) d.name);
-
-/* Legend. */
-vis.add(pv.Dot)
- .extend(dot)
- .data([{gram:"positive"}, {gram:"negative"}])
- .bottom(-30)
- .left(function() this.index * 100)
- .title(null)
- .anchor("right").add(pv.Label)
- .text(function(d) "Gram-" + d.gram);
-
-vis.render();
-
- </script>
- </div></div></body>
-</html>
View
140 vendor/examples/antibiotics/antibiotics.html
@@ -1,140 +0,0 @@
-<html>
- <head>
- <title>Antibiotic Effectiveness</title>
- <link type="text/css" href="../ex.css" rel="stylesheet"/>
- <script type="text/javascript" src="../../protovis-r3.3.js"></script>
- <script type="text/javascript" src="antibiotics.js"></script>
- <style type="text/css">
-
-body {
- background: rgb(240, 225, 210);
-}
-
-#fig {
- height: 800px;
- width: 700px;
-}
-
- </style>
- </head>
- <body><div id="center"><div id="fig">
- <script type="text/javascript+protovis">
-
-/* Basic dimensions. */
-var width = 700,
- height = 700,
- innerRadius = 90,
- outerRadius = 300 - 10;
-
-/* Colors. */
-var drugColor = {
- Penicillin: "rgb(10, 50, 100)",
- Streptomycin: "rgb(200, 70, 50)",
- Neomycin: "black"
- }, gramColor = {
- positive: "rgba(174, 174, 184, .8)",
- negative: "rgba(230, 130, 110, .8)"
- };
-
-/* Burtin's radius encoding is, as far as I can tell, sqrt(log(mic)). */
-var min = Math.sqrt(Math.log(.001 * 1E4)),
- max = Math.sqrt(Math.log(1000 * 1E4)),
- a = (outerRadius - innerRadius) / (min - max),
- b = innerRadius - a * max,
- radius = function(mic) a * Math.sqrt(Math.log(mic * 1E4)) + b;
-
-/*
- * The pie is split into equal sections for each bacteria, with a blank
- * section at the top for the grid labels. Each wedge is further
- * subdivided to make room for the three antibiotics, equispaced.
- */
-var bigAngle = 2.0 * Math.PI / (bacteria.length + 1),
- smallAngle = bigAngle / 7;
-
-/* The root panel. */
-var vis = new pv.Panel()
- .width(width)
- .height(height)
- .bottom(100);
-
-/* Background wedges to indicate gram staining color. */
-var bg = vis.add(pv.Wedge)
- .data(bacteria) // assumes Burtin's order
- .left(width / 2)
- .top(height / 2)
- .innerRadius(innerRadius)
- .outerRadius(outerRadius)
- .angle(bigAngle)
- .startAngle(function(d) this.index * bigAngle + bigAngle / 2 - Math.PI / 2)
- .fillStyle(function(d) gramColor[d.gram]);
-
-/* Antibiotics. */
-bg.add(pv.Wedge)
- .angle(smallAngle)
- .startAngle(function(d) bg.startAngle() + smallAngle)
- .outerRadius(function(d) radius(d.penicillin))
- .fillStyle(drugColor.Penicillin)
- .add(pv.Wedge)
- .startAngle(function(d) this.proto.startAngle() + 2 * smallAngle)
- .outerRadius(function(d) radius(d.streptomycin))
- .fillStyle(drugColor.Streptomycin)
- .add(pv.Wedge)
- .outerRadius(function(d) radius(d.neomycin))
- .fillStyle(drugColor.Neomycin);
-
-/* Circular grid lines. */
-bg.add(pv.Dot)
- .data(pv.range(-3, 4))
- .fillStyle(null)
- .strokeStyle("#eee")
- .lineWidth(1)
- .shapeSize(function(i) Math.pow(radius(Math.pow(10, i)), 2))
- .anchor("top").add(pv.Label)
- .visible(function(i) i < 3)
- .textBaseline("middle")
- .text(function(i) Math.pow(10, i).toFixed((i > 0) ? 0 : -i));
-
-/* Radial grid lines. */
-bg.add(pv.Wedge)
- .data(pv.range(bacteria.length + 1))
- .innerRadius(innerRadius - 10)
- .outerRadius(outerRadius + 10)
- .fillStyle(null)
- .strokeStyle("black")
- .angle(0);
-
-/* Labels. */
-bg.anchor("outer").add(pv.Label)
- .textAlign("center")
- .text(function(d) d.bacteria);
-
-/* Antibiotic legend. */
-vis.add(pv.Bar)
- .data(pv.keys(drugColor))
- .right(width / 2 + 3)
- .top(function() height / 2 - 28 + this.index * 18)
- .fillStyle(function(d) drugColor[d])
- .width(36)
- .height(12)
- .anchor("right").add(pv.Label)
- .textMargin(6)
- .textAlign("left");
-
-/* Gram-stain legend. */
-vis.add(pv.Dot)
- .data(pv.keys(gramColor))
- .left(width / 2 - 20)
- .bottom(function() -60 + this.index * 18)
- .fillStyle(function(d) gramColor[d])
- .strokeStyle(null)
- .shapeSize(30)
- .anchor("right").add(pv.Label)
- .textMargin(6)
- .textAlign("left")
- .text(function(d) "Gram-" + d);
-
-vis.render();
-
- </script>
- </center></body>
-</html>
View
20 vendor/examples/antibiotics/antibiotics.js
@@ -1,20 +0,0 @@
-var antibiotics = ["penicillin", "streptomycin", "neomycin"];
-
-var bacteria = [
- {name: "Mycobacterium tuberculosis", penicillin: 800, streptomycin: 5, neomycin: 2, gram: "negative"},
- {name: "Salmonella schottmuelleri", penicillin: 10, streptomycin: 0.8, neomycin: 0.09, gram: "negative"},
- {name: "Proteus vulgaris", penicillin: 3, streptomycin: 0.1, neomycin: 0.1, gram: "negative"},
- {name: "Klebsiella pneumoniae", penicillin: 850, streptomycin: 1.2, neomycin: 1, gram: "negative"},
- {name: "Brucella abortus", penicillin: 1, streptomycin: 2, neomycin: 0.02, gram: "negative"},
- {name: "Pseudomonas aeruginosa", penicillin: 850, streptomycin: 2, neomycin: 0.4, gram: "negative"},
- {name: "Escherichia coli", penicillin: 100, streptomycin: 0.4, neomycin: 0.1, gram: "negative"},
- {name: "Salmonella (Eberthella) typhosa", penicillin: 1, streptomycin: 0.4, neomycin: 0.008, gram: "negative"},
- {name: "Aerobacter aerogenes", penicillin: 870, streptomycin: 1, neomycin: 1.6, gram: "negative"},
- {name: "Brucella antracis", penicillin: 0.001, streptomycin: 0.01, neomycin: 0.007, gram: "positive"},
- {name: "Streptococcus fecalis", penicillin: 1, streptomycin: 1, neomycin: 0.1, gram: "positive"},
- {name: "Staphylococcus aureus", penicillin: 0.03, streptomycin: 0.03, neomycin: 0.001, gram: "positive"},
- {name: "Staphylococcus albus", penicillin: 0.007, streptomycin: 0.1, neomycin: 0.001, gram: "positive"},
- {name: "Streptococcus hemolyticus", penicillin: 0.001, streptomycin: 14, neomycin: 10, gram: "positive"},
- {name: "Streptococcus viridans", penicillin: 0.005, streptomycin: 10, neomycin: 40, gram: "positive"},
- {name: "Diplococcus pneumoniae", penicillin: 0.005, streptomycin: 11, neomycin: 10, gram: "positive"}
-];
View
102 vendor/examples/barley/barley.html
@@ -1,102 +0,0 @@
-<html>
- <head>
- <title>Barley Yields</title>
- <link type="text/css" href="../ex.css" rel="stylesheet"/>
- <script type="text/javascript" src="../../protovis-r3.3.js"></script>
- <script type="text/javascript" src="barley.js"></script>
- <style type="text/css">
-
-#fig {
- width: 334px;
- height: 833px;
-}
-
- </style>
- </head>
- <body><div id="center"><div id="fig">
- <script type="text/javascript+protovis">
-
-/* Compute yield medians by site and by variety. */
-function median(data) pv.median(data, function(d) d.yield);
-var site = pv.nest(barley).key(function(d) d.site).rollup(median);
-var variety = pv.nest(barley).key(function(d) d.variety).rollup(median);
-
-/* Nest yields data by site then year. */
-barley = pv.nest(barley)
- .key(function(d) d.site)
- .sortKeys(function(a, b) site[b] - site[a])
- .key(function(d) d.year)
- .sortValues(function(a, b) variety[b.variety] - variety[a.variety])
- .entries();
-
-/* Sizing and scales. */
-var w = 332,
- h = 132,
- x = pv.Scale.linear(10, 90).range(0, w),
- c = pv.Colors.category10();
-
-/* The root panel. */
-var vis = new pv.Panel()
- .width(w)
- .height(h * pv.keys(site).length)
- .top(15.5)
- .left(.5)
- .right(.5)
- .bottom(25);
-
-/* A panel per site-year. */
-var cell = vis.add(pv.Panel)
- .data(barley)
- .height(h)
- .left(90)
- .top(function() this.index * h)
- .strokeStyle("#999");
-
-/* Title bar. */
-cell.add(pv.Bar)
- .height(14)
- .fillStyle("bisque")
- .anchor("center").add(pv.Label)
- .text(function(site) site.key);
-
-/* A dot showing the yield. */
-var dot = cell.add(pv.Panel)
- .data(function(site) site.values)
- .top(23)
- .add(pv.Dot)
- .data(function(year) year.values)
- .left(function(d) x(d.yield))
- .top(function() this.index * 11)
- .shapeSize(10)
- .lineWidth(2)
- .strokeStyle(function(d) c(d.year));
-
-/* A label showing the variety. */
-dot.anchor("left").add(pv.Label)
- .visible(function() !this.parent.index)
- .left(-2)
- .text(function(d) d.variety);
-
-/* X-ticks. */
-vis.add(pv.Rule)
- .data(x.ticks())
- .left(function(d) 90 + x(d))
- .bottom(-5)
- .height(5)
- .strokeStyle("#999")
- .anchor("bottom").add(pv.Label);
-
-/* A legend showing the year. */
-vis.add(pv.Dot)
- .extend(dot)
- .data([{year:1931}, {year:1932}])
- .left(function(d) 260 + this.index * 40)
- .top(-8)
- .anchor("right").add(pv.Label)
- .text(function(d) d.year);
-
-vis.render();
-
- </script>
- </div></div></body>
-</html>
View
122 vendor/examples/barley/barley.js
@@ -1,122 +0,0 @@
-var barley = [
- { yield: 27.00000, variety: "Manchuria", year: 1931, site: "University Farm" },
- { yield: 48.86667, variety: "Manchuria", year: 1931, site: "Waseca" },
- { yield: 27.43334, variety: "Manchuria", year: 1931, site: "Morris" },
- { yield: 39.93333, variety: "Manchuria", year: 1931, site: "Crookston" },
- { yield: 32.96667, variety: "Manchuria", year: 1931, site: "Grand Rapids" },
- { yield: 28.96667, variety: "Manchuria", year: 1931, site: "Duluth" },
- { yield: 43.06666, variety: "Glabron", year: 1931, site: "University Farm" },
- { yield: 55.20000, variety: "Glabron", year: 1931, site: "Waseca" },
- { yield: 28.76667, variety: "Glabron", year: 1931, site: "Morris" },
- { yield: 38.13333, variety: "Glabron", year: 1931, site: "Crookston" },
- { yield: 29.13333, variety: "Glabron", year: 1931, site: "Grand Rapids" },
- { yield: 29.66667, variety: "Glabron", year: 1931, site: "Duluth" },
- { yield: 35.13333, variety: "Svansota", year: 1931, site: "University Farm" },
- { yield: 47.33333, variety: "Svansota", year: 1931, site: "Waseca" },
- { yield: 25.76667, variety: "Svansota", year: 1931, site: "Morris" },
- { yield: 40.46667, variety: "Svansota", year: 1931, site: "Crookston" },
- { yield: 29.66667, variety: "Svansota", year: 1931, site: "Grand Rapids" },
- { yield: 25.70000, variety: "Svansota", year: 1931, site: "Duluth" },
- { yield: 39.90000, variety: "Velvet", year: 1931, site: "University Farm" },
- { yield: 50.23333, variety: "Velvet", year: 1931, site: "Waseca" },
- { yield: 26.13333, variety: "Velvet", year: 1931, site: "Morris" },
- { yield: 41.33333, variety: "Velvet", year: 1931, site: "Crookston" },
- { yield: 23.03333, variety: "Velvet", year: 1931, site: "Grand Rapids" },
- { yield: 26.30000, variety: "Velvet", year: 1931, site: "Duluth" },
- { yield: 36.56666, variety: "Trebi", year: 1931, site: "University Farm" },
- { yield: 63.83330, variety: "Trebi", year: 1931, site: "Waseca" },
- { yield: 43.76667, variety: "Trebi", year: 1931, site: "Morris" },
- { yield: 46.93333, variety: "Trebi", year: 1931, site: "Crookston" },
- { yield: 29.76667, variety: "Trebi", year: 1931, site: "Grand Rapids" },
- { yield: 33.93333, variety: "Trebi", year: 1931, site: "Duluth" },
- { yield: 43.26667, variety: "No. 457", year: 1931, site: "University Farm" },
- { yield: 58.10000, variety: "No. 457", year: 1931, site: "Waseca" },
- { yield: 28.70000, variety: "No. 457", year: 1931, site: "Morris" },
- { yield: 45.66667, variety: "No. 457", year: 1931, site: "Crookston" },
- { yield: 32.16667, variety: "No. 457", year: 1931, site: "Grand Rapids" },
- { yield: 33.60000, variety: "No. 457", year: 1931, site: "Duluth" },
- { yield: 36.60000, variety: "No. 462", year: 1931, site: "University Farm" },
- { yield: 65.76670, variety: "No. 462", year: 1931, site: "Waseca" },
- { yield: 30.36667, variety: "No. 462", year: 1931, site: "Morris" },
- { yield: 48.56666, variety: "No. 462", year: 1931, site: "Crookston" },
- { yield: 24.93334, variety: "No. 462", year: 1931, site: "Grand Rapids" },
- { yield: 28.10000, variety: "No. 462", year: 1931, site: "Duluth" },
- { yield: 32.76667, variety: "Peatland", year: 1931, site: "University Farm" },
- { yield: 48.56666, variety: "Peatland", year: 1931, site: "Waseca" },
- { yield: 29.86667, variety: "Peatland", year: 1931, site: "Morris" },
- { yield: 41.60000, variety: "Peatland", year: 1931, site: "Crookston" },
- { yield: 34.70000, variety: "Peatland", year: 1931, site: "Grand Rapids" },
- { yield: 32.00000, variety: "Peatland", year: 1931, site: "Duluth" },
- { yield: 24.66667, variety: "No. 475", year: 1931, site: "University Farm" },
- { yield: 46.76667, variety: "No. 475", year: 1931, site: "Waseca" },
- { yield: 22.60000, variety: "No. 475", year: 1931, site: "Morris" },
- { yield: 44.10000, variety: "No. 475", year: 1931, site: "Crookston" },
- { yield: 19.70000, variety: "No. 475", year: 1931, site: "Grand Rapids" },
- { yield: 33.06666, variety: "No. 475", year: 1931, site: "Duluth" },
- { yield: 39.30000, variety: "Wisconsin No. 38", year: 1931, site: "University Farm" },
- { yield: 58.80000, variety: "Wisconsin No. 38", year: 1931, site: "Waseca" },
- { yield: 29.46667, variety: "Wisconsin No. 38", year: 1931, site: "Morris" },
- { yield: 49.86667, variety: "Wisconsin No. 38", year: 1931, site: "Crookston" },
- { yield: 34.46667, variety: "Wisconsin No. 38", year: 1931, site: "Grand Rapids" },
- { yield: 31.60000, variety: "Wisconsin No. 38", year: 1931, site: "Duluth" },
- { yield: 26.90000, variety: "Manchuria", year: 1932, site: "University Farm" },
- { yield: 33.46667, variety: "Manchuria", year: 1932, site: "Waseca" },
- { yield: 34.36666, variety: "Manchuria", year: 1932, site: "Morris" },
- { yield: 32.96667, variety: "Manchuria", year: 1932, site: "Crookston" },
- { yield: 22.13333, variety: "Manchuria", year: 1932, site: "Grand Rapids" },
- { yield: 22.56667, variety: "Manchuria", year: 1932, site: "Duluth" },
- { yield: 36.80000, variety: "Glabron", year: 1932, site: "University Farm" },
- { yield: 37.73333, variety: "Glabron", year: 1932, site: "Waseca" },
- { yield: 35.13333, variety: "Glabron", year: 1932, site: "Morris" },
- { yield: 26.16667, variety: "Glabron", year: 1932, site: "Crookston" },
- { yield: 14.43333, variety: "Glabron", year: 1932, site: "Grand Rapids" },
- { yield: 25.86667, variety: "Glabron", year: 1932, site: "Duluth" },
- { yield: 27.43334, variety: "Svansota", year: 1932, site: "University Farm" },
- { yield: 38.50000, variety: "Svansota", year: 1932, site: "Waseca" },
- { yield: 35.03333, variety: "Svansota", year: 1932, site: "Morris" },
- { yield: 20.63333, variety: "Svansota", year: 1932, site: "Crookston" },
- { yield: 16.63333, variety: "Svansota", year: 1932, site: "Grand Rapids" },
- { yield: 22.23333, variety: "Svansota", year: 1932, site: "Duluth" },
- { yield: 26.80000, variety: "Velvet", year: 1932, site: "University Farm" },
- { yield: 37.40000, variety: "Velvet", year: 1932, site: "Waseca" },
- { yield: 38.83333, variety: "Velvet", year: 1932, site: "Morris" },
- { yield: 32.06666, variety: "Velvet", year: 1932, site: "Crookston" },
- { yield: 32.23333, variety: "Velvet", year: 1932, site: "Grand Rapids" },
- { yield: 22.46667, variety: "Velvet", year: 1932, site: "Duluth" },
- { yield: 29.06667, variety: "Trebi", year: 1932, site: "University Farm" },
- { yield: 49.23330, variety: "Trebi", year: 1932, site: "Waseca" },
- { yield: 46.63333, variety: "Trebi", year: 1932, site: "Morris" },
- { yield: 41.83333, variety: "Trebi", year: 1932, site: "Crookston" },
- { yield: 20.63333, variety: "Trebi", year: 1932, site: "Grand Rapids" },
- { yield: 30.60000, variety: "Trebi", year: 1932, site: "Duluth" },
- { yield: 26.43334, variety: "No. 457", year: 1932, site: "University Farm" },
- { yield: 42.20000, variety: "No. 457", year: 1932, site: "Waseca" },
- { yield: 43.53334, variety: "No. 457", year: 1932, site: "Morris" },
- { yield: 34.33333, variety: "No. 457", year: 1932, site: "Crookston" },
- { yield: 19.46667, variety: "No. 457", year: 1932, site: "Grand Rapids" },
- { yield: 22.70000, variety: "No. 457", year: 1932, site: "Duluth" },
- { yield: 25.56667, variety: "No. 462", year: 1932, site: "University Farm" },
- { yield: 44.70000, variety: "No. 462", year: 1932, site: "Waseca" },
- { yield: 47.00000, variety: "No. 462", year: 1932, site: "Morris" },
- { yield: 30.53333, variety: "No. 462", year: 1932, site: "Crookston" },
- { yield: 19.90000, variety: "No. 462", year: 1932, site: "Grand Rapids" },
- { yield: 22.50000, variety: "No. 462", year: 1932, site: "Duluth" },
- { yield: 28.06667, variety: "Peatland", year: 1932, site: "University Farm" },
- { yield: 36.03333, variety: "Peatland", year: 1932, site: "Waseca" },
- { yield: 43.20000, variety: "Peatland", year: 1932, site: "Morris" },
- { yield: 25.23333, variety: "Peatland", year: 1932, site: "Crookston" },
- { yield: 26.76667, variety: "Peatland", year: 1932, site: "Grand Rapids" },
- { yield: 31.36667, variety: "Peatland", year: 1932, site: "Duluth" },
- { yield: 30.00000, variety: "No. 475", year: 1932, site: "University Farm" },
- { yield: 41.26667, variety: "No. 475", year: 1932, site: "Waseca" },
- { yield: 44.23333, variety: "No. 475", year: 1932, site: "Morris" },
- { yield: 32.13333, variety: "No. 475", year: 1932, site: "Crookston" },
- { yield: 15.23333, variety: "No. 475", year: 1932, site: "Grand Rapids" },
- { yield: 27.36667, variety: "No. 475", year: 1932, site: "Duluth" },
- { yield: 38.00000, variety: "Wisconsin No. 38", year: 1932, site: "University Farm" },
- { yield: 58.16667, variety: "Wisconsin No. 38", year: 1932, site: "Waseca" },
- { yield: 47.16667, variety: "Wisconsin No. 38", year: 1932, site: "Morris" },
- { yield: 35.90000, variety: "Wisconsin No. 38", year: 1932, site: "Crookston" },
- { yield: 20.66667, variety: "Wisconsin No. 38", year: 1932, site: "Grand Rapids" },
- { yield: 29.33333, variety: "Wisconsin No. 38", year: 1932, site: "Duluth" }
-];
View
90 vendor/examples/cars/cars.html
@@ -1,90 +0,0 @@
-<html>
- <head>
- <title>Cars</title>
- <link type="text/css" href="../ex.css" rel="stylesheet"/>
- <script type="text/javascript" src="../../protovis-r3.3.js"></script>
- <script type="text/javascript" src="cars.js"></script>
- <style type="text/css">
-
-#fig {
- width: 880px;
- height: 460px;
-}
-
-#title {
- position: absolute;
- top: 70px;
- left: 200px;
- padding: 10px;
- background: white;
-}
-
-large {
- font-size: medium;
-}
-
- </style>
- </head>
- <body><div id="center"><div id="fig">
- <script type="text/javascript+protovis">
-
-/* The dimensions to visualize, in order. */
-var dims = [
- "cylinders",
- "displacement",
- "weight",
- "horsepower",
- "acceleration",
- "mpg",
- "year",
- "origin"
-];
-
-/* Sizing and scales. */
-var w = 840,
- h = 420,
- color = pv.Colors.category10(),
- x = pv.Scale.ordinal(dims).splitFlush(0, w),
- y = pv.dict(dims, function(t) pv.Scale.linear()
- .domain(cars.filter(function(d) !isNaN(d[t])), function(d) d[t])
- .range(0, h));
-
-/* The root panel. */
-var vis = new pv.Panel()
- .width(w)
- .height(h)
- .margin(20)
- .bottom(40);
-
-/* Rule and labels per dimension. */
-var rule = vis.add(pv.Rule)
- .data(dims)
- .left(x)
- .strokeStyle(color.by(pv.index))
- .lineWidth(2);
-
-rule.anchor("top").add(pv.Label)
- .text(function(t) y[t].domain()[0]);
-
-rule.anchor("bottom").add(pv.Label)
- .text(function(t) y[t].domain()[1]);
-
-rule.anchor("bottom").add(pv.Label)
- .textStyle(function() color(this.index).darker())
- .textMargin(14);
-
-/* Parallel coordinates. */
-vis.add(pv.Panel)
- .data(cars)
- .add(pv.Line)
- .data(dims)
- .left(function(t, d) x(t))
- .bottom(function(t, d) y[t](d[t]))
- .strokeStyle("rgba(0, 0, 0, .2)")
- .lineWidth(1);
-
-vis.render();
-
- </script>
- </div></div></body>
-</html>
View
408 vendor/examples/cars/cars.js
@@ -1,408 +0,0 @@
-var cars = [
-{name:"chevrolet chevelle malibu", mpg:18, cylinders:8, displacement:307, horsepower:130, weight:3504, acceleration:12, year:70, origin:1},
-{name:"buick skylark 320", mpg:15, cylinders:8, displacement:350, horsepower:165, weight:3693, acceleration:11.5, year:70, origin:1},
-{name:"plymouth satellite", mpg:18, cylinders:8, displacement:318, horsepower:150, weight:3436, acceleration:11, year:70, origin:1},
-{name:"amc rebel sst", mpg:16, cylinders:8, displacement:304, horsepower:150, weight:3433, acceleration:12, year:70, origin:1},
-{name:"ford torino", mpg:17, cylinders:8, displacement:302, horsepower:140, weight:3449, acceleration:10.5, year:70, origin:1},
-{name:"ford galaxie 500", mpg:15, cylinders:8, displacement:429, horsepower:198, weight:4341, acceleration:10, year:70, origin:1},
-{name:"chevrolet impala", mpg:14, cylinders:8, displacement:454, horsepower:220, weight:4354, acceleration:9, year:70, origin:1},
-{name:"plymouth fury iii", mpg:14, cylinders:8, displacement:440, horsepower:215, weight:4312, acceleration:8.5, year:70, origin:1},
-{name:"pontiac catalina", mpg:14, cylinders:8, displacement:455, horsepower:225, weight:4425, acceleration:10, year:70, origin:1},
-{name:"amc ambassador dpl", mpg:15, cylinders:8, displacement:390, horsepower:190, weight:3850, acceleration:8.5, year:70, origin:1},
-{name:"citroen ds-21 pallas", mpg:undefined, cylinders:4, displacement:133, horsepower:115, weight:3090, acceleration:17.5, year:70, origin:2},
-{name:"chevrolet chevelle concours (sw)", mpg:undefined, cylinders:8, displacement:350, horsepower:165, weight:4142, acceleration:11.5, year:70, origin:1},
-{name:"ford torino (sw)", mpg:undefined, cylinders:8, displacement:351, horsepower:153, weight:4034, acceleration:11, year:70, origin:1},
-{name:"plymouth satellite (sw)", mpg:undefined, cylinders:8, displacement:383, horsepower:175, weight:4166, acceleration:10.5, year:70, origin:1},
-{name:"amc rebel sst (sw)", mpg:undefined, cylinders:8, displacement:360, horsepower:175, weight:3850, acceleration:11, year:70, origin:1},
-{name:"dodge challenger se", mpg:15, cylinders:8, displacement:383, horsepower:170, weight:3563, acceleration:10, year:70, origin:1},
-{name:"plymouth 'cuda 340", mpg:14, cylinders:8, displacement:340, horsepower:160, weight:3609, acceleration:8, year:70, origin:1},
-{name:"ford mustang boss 302", mpg:undefined, cylinders:8, displacement:302, horsepower:140, weight:3353, acceleration:8, year:70, origin:1},
-{name:"chevrolet monte carlo", mpg:15, cylinders:8, displacement:400, horsepower:150, weight:3761, acceleration:9.5, year:70, origin:1},
-{name:"buick estate wagon (sw)", mpg:14, cylinders:8, displacement:455, horsepower:225, weight:3086, acceleration:10, year:70, origin:1},
-{name:"toyota corona mark ii", mpg:24, cylinders:4, displacement:113, horsepower:95, weight:2372, acceleration:15, year:70, origin:3},
-{name:"plymouth duster", mpg:22, cylinders:6, displacement:198, horsepower:95, weight:2833, acceleration:15.5, year:70, origin:1},
-{name:"amc hornet", mpg:18, cylinders:6, displacement:199, horsepower:97, weight:2774, acceleration:15.5, year:70, origin:1},
-{name:"ford maverick", mpg:21, cylinders:6, displacement:200, horsepower:85, weight:2587, acceleration:16, year:70, origin:1},
-{name:"datsun pl510", mpg:27, cylinders:4, displacement:97, horsepower:88, weight:2130, acceleration:14.5, year:70, origin:3},
-{name:"volkswagen 1131 deluxe sedan", mpg:26, cylinders:4, displacement:97, horsepower:46, weight:1835, acceleration:20.5, year:70, origin:2},
-{name:"peugeot 504", mpg:25, cylinders:4, displacement:110, horsepower:87, weight:2672, acceleration:17.5, year:70, origin:2},
-{name:"audi 100 ls", mpg:24, cylinders:4, displacement:107, horsepower:90, weight:2430, acceleration:14.5, year:70, origin:2},
-{name:"saab 99e", mpg:25, cylinders:4, displacement:104, horsepower:95, weight:2375, acceleration:17.5, year:70, origin:2},
-{name:"bmw 2002", mpg:26, cylinders:4, displacement:121, horsepower:113, weight:2234, acceleration:12.5, year:70, origin:2},
-{name:"amc gremlin", mpg:21, cylinders:6, displacement:199, horsepower:90, weight:2648, acceleration:15, year:70, origin:1},
-{name:"ford f250", mpg:10, cylinders:8, displacement:360, horsepower:215, weight:4615, acceleration:14, year:70, origin:1},
-{name:"chevy c20", mpg:10, cylinders:8, displacement:307, horsepower:200, weight:4376, acceleration:15, year:70, origin:1},
-{name:"dodge d200", mpg:11, cylinders:8, displacement:318, horsepower:210, weight:4382, acceleration:13.5, year:70, origin:1},
-{name:"hi 1200d", mpg:9, cylinders:8, displacement:304, horsepower:193, weight:4732, acceleration:18.5, year:70, origin:1},
-{name:"datsun pl510", mpg:27, cylinders:4, displacement:97, horsepower:88, weight:2130, acceleration:14.5, year:71, origin:3},
-{name:"chevrolet vega 2300", mpg:28, cylinders:4, displacement:140, horsepower:90, weight:2264, acceleration:15.5, year:71, origin:1},
-{name:"toyota corona", mpg:25, cylinders:4, displacement:113, horsepower:95, weight:2228, acceleration:14, year:71, origin:3},
-{name:"ford pinto", mpg:25, cylinders:4, displacement:98, horsepower:undefined, weight:2046, acceleration:19, year:71, origin:1},
-{name:"volkswagen super beetle 117", mpg:undefined, cylinders:4, displacement:97, horsepower:48, weight:1978, acceleration:20, year:71, origin:2},
-{name:"amc gremlin", mpg:19, cylinders:6, displacement:232, horsepower:100, weight:2634, acceleration:13, year:71, origin:1},
-{name:"plymouth satellite custom", mpg:16, cylinders:6, displacement:225, horsepower:105, weight:3439, acceleration:15.5, year:71, origin:1},
-{name:"chevrolet chevelle malibu", mpg:17, cylinders:6, displacement:250, horsepower:100, weight:3329, acceleration:15.5, year:71, origin:1},
-{name:"ford torino 500", mpg:19, cylinders:6, displacement:250, horsepower:88, weight:3302, acceleration:15.5, year:71, origin:1},
-{name:"amc matador", mpg:18, cylinders:6, displacement:232, horsepower:100, weight:3288, acceleration:15.5, year:71, origin:1},
-{name:"chevrolet impala", mpg:14, cylinders:8, displacement:350, horsepower:165, weight:4209, acceleration:12, year:71, origin:1},
-{name:"pontiac catalina brougham", mpg:14, cylinders:8, displacement:400, horsepower:175, weight:4464, acceleration:11.5, year:71, origin:1},
-{name:"ford galaxie 500", mpg:14, cylinders:8, displacement:351, horsepower:153, weight:4154, acceleration:13.5, year:71, origin:1},
-{name:"plymouth fury iii", mpg:14, cylinders:8, displacement:318, horsepower:150, weight:4096, acceleration:13, year:71, origin:1},
-{name:"dodge monaco (sw)", mpg:12, cylinders:8, displacement:383, horsepower:180, weight:4955, acceleration:11.5, year:71, origin:1},
-{name:"ford country squire (sw)", mpg:13, cylinders:8, displacement:400, horsepower:170, weight:4746, acceleration:12, year:71, origin:1},
-{name:"pontiac safari (sw)", mpg:13, cylinders:8, displacement:400, horsepower:175, weight:5140, acceleration:12, year:71, origin:1},
-{name:"amc hornet sportabout (sw)", mpg:18, cylinders:6, displacement:258, horsepower:110, weight:2962, acceleration:13.5, year:71, origin:1},
-{name:"chevrolet vega (sw)", mpg:22, cylinders:4, displacement:140, horsepower:72, weight:2408, acceleration:19, year:71, origin:1},
-{name:"pontiac firebird", mpg:19, cylinders:6, displacement:250, horsepower:100, weight:3282, acceleration:15, year:71, origin:1},
-{name:"ford mustang", mpg:18, cylinders:6, displacement:250, horsepower:88, weight:3139, acceleration:14.5, year:71, origin:1},
-{name:"mercury capri 2000", mpg:23, cylinders:4, displacement:122, horsepower:86, weight:2220, acceleration:14, year:71, origin:1},
-{name:"opel 1900", mpg:28, cylinders:4, displacement:116, horsepower:90, weight:2123, acceleration:14, year:71, origin:2},
-{name:"peugeot 304", mpg:30, cylinders:4, displacement:79, horsepower:70, weight:2074, acceleration:19.5, year:71, origin:2},
-{name:"fiat 124b", mpg:30, cylinders:4, displacement:88, horsepower:76, weight:2065, acceleration:14.5, year:71, origin:2},
-{name:"toyota corolla 1200", mpg:31, cylinders:4, displacement:71, horsepower:65, weight:1773, acceleration:19, year:71, origin:3},
-{name:"datsun 1200", mpg:35, cylinders:4, displacement:72, horsepower:69, weight:1613, acceleration:18, year:71, origin:3},
-{name:"volkswagen model 111", mpg:27, cylinders:4, displacement:97, horsepower:60, weight:1834, acceleration:19, year:71, origin:2},
-{name:"plymouth cricket", mpg:26, cylinders:4, displacement:91, horsepower:70, weight:1955, acceleration:20.5, year:71, origin:1},
-{name:"toyota corona hardtop", mpg:24, cylinders:4, displacement:113, horsepower:95, weight:2278, acceleration:15.5, year:72, origin:3},
-{name:"dodge colt hardtop", mpg:25, cylinders:4, displacement:97.5, horsepower:80, weight:2126, acceleration:17, year:72, origin:1},
-{name:"volkswagen type 3", mpg:23, cylinders:4, displacement:97, horsepower:54, weight:2254, acceleration:23.5, year:72, origin:2},
-{name:"chevrolet vega", mpg:20, cylinders:4, displacement:140, horsepower:90, weight:2408, acceleration:19.5, year:72, origin:1},
-{name:"ford pinto runabout", mpg:21, cylinders:4, displacement:122, horsepower:86, weight:2226, acceleration:16.5, year:72, origin:1},
-{name:"chevrolet impala", mpg:13, cylinders:8, displacement:350, horsepower:165, weight:4274, acceleration:12, year:72, origin:1},
-{name:"pontiac catalina", mpg:14, cylinders:8, displacement:400, horsepower:175, weight:4385, acceleration:12, year:72, origin:1},
-{name:"plymouth fury iii", mpg:15, cylinders:8, displacement:318, horsepower:150, weight:4135, acceleration:13.5, year:72, origin:1},
-{name:"ford galaxie 500", mpg:14, cylinders:8, displacement:351, horsepower:153, weight:4129, acceleration:13, year:72, origin:1},
-{name:"amc ambassador sst", mpg:17, cylinders:8, displacement:304, horsepower:150, weight:3672, acceleration:11.5, year:72, origin:1},
-{name:"mercury marquis", mpg:11, cylinders:8, displacement:429, horsepower:208, weight:4633, acceleration:11, year:72, origin:1},
-{name:"buick lesabre custom", mpg:13, cylinders:8, displacement:350, horsepower:155, weight:4502, acceleration:13.5, year:72, origin:1},
-{name:"oldsmobile delta 88 royale", mpg:12, cylinders:8, displacement:350, horsepower:160, weight:4456, acceleration:13.5, year:72, origin:1},
-{name:"chrysler newport royal", mpg:13, cylinders:8, displacement:400, horsepower:190, weight:4422, acceleration:12.5, year:72, origin:1},
-{name:"mazda rx2 coupe", mpg:19, cylinders:3, displacement:70, horsepower:97, weight:2330, acceleration:13.5, year:72, origin:3},
-{name:"amc matador (sw)", mpg:15, cylinders:8, displacement:304, horsepower:150, weight:3892, acceleration:12.5, year:72, origin:1},
-{name:"chevrolet chevelle concours (sw)", mpg:13, cylinders:8, displacement:307, horsepower:130, weight:4098, acceleration:14, year:72, origin:1},
-{name:"ford gran torino (sw)", mpg:13, cylinders:8, displacement:302, horsepower:140, weight:4294, acceleration:16, year:72, origin:1},
-{name:"plymouth satellite custom (sw)", mpg:14, cylinders:8, displacement:318, horsepower:150, weight:4077, acceleration:14, year:72, origin:1},
-{name:"volvo 145e (sw)", mpg:18, cylinders:4, displacement:121, horsepower:112, weight:2933, acceleration:14.5, year:72, origin:2},
-{name:"volkswagen 411 (sw)", mpg:22, cylinders:4, displacement:121, horsepower:76, weight:2511, acceleration:18, year:72, origin:2},
-{name:"peugeot 504 (sw)", mpg:21, cylinders:4, displacement:120, horsepower:87, weight:2979, acceleration:19.5, year:72, origin:2},
-{name:"renault 12 (sw)", mpg:26, cylinders:4, displacement:96, horsepower:69, weight:2189, acceleration:18, year:72, origin:2},
-{name:"ford pinto (sw)", mpg:22, cylinders:4, displacement:122, horsepower:86, weight:2395, acceleration:16, year:72, origin:1},
-{name:"datsun 510 (sw)", mpg:28, cylinders:4, displacement:97, horsepower:92, weight:2288, acceleration:17, year:72, origin:3},
-{name:"toyouta corona mark ii (sw)", mpg:23, cylinders:4, displacement:120, horsepower:97, weight:2506, acceleration:14.5, year:72, origin:3},
-{name:"dodge colt (sw)", mpg:28, cylinders:4, displacement:98, horsepower:80, weight:2164, acceleration:15, year:72, origin:1},
-{name:"toyota corolla 1600 (sw)", mpg:27, cylinders:4, displacement:97, horsepower:88, weight:2100, acceleration:16.5, year:72, origin:3},
-{name:"buick century 350", mpg:13, cylinders:8, displacement:350, horsepower:175, weight:4100, acceleration:13, year:73, origin:1},
-{name:"amc matador", mpg:14, cylinders:8, displacement:304, horsepower:150, weight:3672, acceleration:11.5, year:73, origin:1},
-{name:"chevrolet malibu", mpg:13, cylinders:8, displacement:350, horsepower:145, weight:3988, acceleration:13, year:73, origin:1},
-{name:"ford gran torino", mpg:14, cylinders:8, displacement:302, horsepower:137, weight:4042, acceleration:14.5, year:73, origin:1},
-{name:"dodge coronet custom", mpg:15, cylinders:8, displacement:318, horsepower:150, weight:3777, acceleration:12.5, year:73, origin:1},
-{name:"mercury marquis brougham", mpg:12, cylinders:8, displacement:429, horsepower:198, weight:4952, acceleration:11.5, year:73, origin:1},
-{name:"chevrolet caprice classic", mpg:13, cylinders:8, displacement:400, horsepower:150, weight:4464, acceleration:12, year:73, origin:1},
-{name:"ford ltd", mpg:13, cylinders:8, displacement:351, horsepower:158, weight:4363, acceleration:13, year:73, origin:1},
-{name:"plymouth fury gran sedan", mpg:14, cylinders:8, displacement:318, horsepower:150, weight:4237, acceleration:14.5, year:73, origin:1},
-{name:"chrysler new yorker brougham", mpg:13, cylinders:8, displacement:440, horsepower:215, weight:4735, acceleration:11, year:73, origin:1},
-{name:"buick electra 225 custom", mpg:12, cylinders:8, displacement:455, horsepower:225, weight:4951, acceleration:11, year:73, origin:1},
-{name:"amc ambassador brougham", mpg:13, cylinders:8, displacement:360, horsepower:175, weight:3821, acceleration:11, year:73, origin:1},
-{name:"plymouth valiant", mpg:18, cylinders:6, displacement:225, horsepower:105, weight:3121, acceleration:16.5, year:73, origin:1},
-{name:"chevrolet nova custom", mpg:16, cylinders:6, displacement:250, horsepower:100, weight:3278, acceleration:18, year:73, origin:1},
-{name:"amc hornet", mpg:18, cylinders:6, displacement:232, horsepower:100, weight:2945, acceleration:16, year:73, origin:1},
-{name:"ford maverick", mpg:18, cylinders:6, displacement:250, horsepower:88, weight:3021, acceleration:16.5, year:73, origin:1},
-{name:"plymouth duster", mpg:23, cylinders:6, displacement:198, horsepower:95, weight:2904, acceleration:16, year:73, origin:1},
-{name:"volkswagen super beetle", mpg:26, cylinders:4, displacement:97, horsepower:46, weight:1950, acceleration:21, year:73, origin:2},
-{name:"chevrolet impala", mpg:11, cylinders:8, displacement:400, horsepower:150, weight:4997, acceleration:14, year:73, origin:1},
-{name:"ford country", mpg:12, cylinders:8, displacement:400, horsepower:167, weight:4906, acceleration:12.5, year:73, origin:1},
-{name:"plymouth custom suburb", mpg:13, cylinders:8, displacement:360, horsepower:170, weight:4654, acceleration:13, year:73, origin:1},
-{name:"oldsmobile vista cruiser", mpg:12, cylinders:8, displacement:350, horsepower:180, weight:4499, acceleration:12.5, year:73, origin:1},
-{name:"amc gremlin", mpg:18, cylinders:6, displacement:232, horsepower:100, weight:2789, acceleration:15, year:73, origin:1},
-{name:"toyota carina", mpg:20, cylinders:4, displacement:97, horsepower:88, weight:2279, acceleration:19, year:73, origin:3},
-{name:"chevrolet vega", mpg:21, cylinders:4, displacement:140, horsepower:72, weight:2401, acceleration:19.5, year:73, origin:1},
-{name:"datsun 610", mpg:22, cylinders:4, displacement:108, horsepower:94, weight:2379, acceleration:16.5, year:73, origin:3},
-{name:"maxda rx3", mpg:18, cylinders:3, displacement:70, horsepower:90, weight:2124, acceleration:13.5, year:73, origin:3},
-{name:"ford pinto", mpg:19, cylinders:4, displacement:122, horsepower:85, weight:2310, acceleration:18.5, year:73, origin:1},
-{name:"mercury capri v6", mpg:21, cylinders:6, displacement:155, horsepower:107, weight:2472, acceleration:14, year:73, origin:1},
-{name:"fiat 124 sport coupe", mpg:26, cylinders:4, displacement:98, horsepower:90, weight:2265, acceleration:15.5, year:73, origin:2},
-{name:"chevrolet monte carlo s", mpg:15, cylinders:8, displacement:350, horsepower:145, weight:4082, acceleration:13, year:73, origin:1},
-{name:"pontiac grand prix", mpg:16, cylinders:8, displacement:400, horsepower:230, weight:4278, acceleration:9.5, year:73, origin:1},
-{name:"fiat 128", mpg:29, cylinders:4, displacement:68, horsepower:49, weight:1867, acceleration:19.5, year:73, origin:2},
-{name:"opel manta", mpg:24, cylinders:4, displacement:116, horsepower:75, weight:2158, acceleration:15.5, year:73, origin:2},
-{name:"audi 100ls", mpg:20, cylinders:4, displacement:114, horsepower:91, weight:2582, acceleration:14, year:73, origin:2},
-{name:"volvo 144ea", mpg:19, cylinders:4, displacement:121, horsepower:112, weight:2868, acceleration:15.5, year:73, origin:2},
-{name:"dodge dart custom", mpg:15, cylinders:8, displacement:318, horsepower:150, weight:3399, acceleration:11, year:73, origin:1},
-{name:"saab 99le", mpg:24, cylinders:4, displacement:121, horsepower:110, weight:2660, acceleration:14, year:73, origin:2},
-{name:"toyota mark ii", mpg:20, cylinders:6, displacement:156, horsepower:122, weight:2807, acceleration:13.5, year:73, origin:3},
-{name:"oldsmobile omega", mpg:11, cylinders:8, displacement:350, horsepower:180, weight:3664, acceleration:11, year:73, origin:1},
-{name:"plymouth duster", mpg:20, cylinders:6, displacement:198, horsepower:95, weight:3102, acceleration:16.5, year:74, origin:1},
-{name:"ford maverick", mpg:21, cylinders:6, displacement:200, horsepower:undefined, weight:2875, acceleration:17, year:74, origin:1},
-{name:"amc hornet", mpg:19, cylinders:6, displacement:232, horsepower:100, weight:2901, acceleration:16, year:74, origin:1},
-{name:"chevrolet nova", mpg:15, cylinders:6, displacement:250, horsepower:100, weight:3336, acceleration:17, year:74, origin:1},
-{name:"datsun b210", mpg:31, cylinders:4, displacement:79, horsepower:67, weight:1950, acceleration:19, year:74, origin:3},
-{name:"ford pinto", mpg:26, cylinders:4, displacement:122, horsepower:80, weight:2451, acceleration:16.5, year:74, origin:1},
-{name:"toyota corolla 1200", mpg:32, cylinders:4, displacement:71, horsepower:65, weight:1836, acceleration:21, year:74, origin:3},
-{name:"chevrolet vega", mpg:25, cylinders:4, displacement:140, horsepower:75, weight:2542, acceleration:17, year:74, origin:1},
-{name:"chevrolet chevelle malibu classic", mpg:16, cylinders:6, displacement:250, horsepower:100, weight:3781, acceleration:17, year:74, origin:1},
-{name:"amc matador", mpg:16, cylinders:6, displacement:258, horsepower:110, weight:3632, acceleration:18, year:74, origin:1},
-{name:"plymouth satellite sebring", mpg:18, cylinders:6, displacement:225, horsepower:105, weight:3613, acceleration:16.5, year:74, origin:1},
-{name:"ford gran torino", mpg:16, cylinders:8, displacement:302, horsepower:140, weight:4141, acceleration:14, year:74, origin:1},
-{name:"buick century luxus (sw)", mpg:13, cylinders:8, displacement:350, horsepower:150, weight:4699, acceleration:14.5, year:74, origin:1},
-{name:"dodge coronet custom (sw)", mpg:14, cylinders:8, displacement:318, horsepower:150, weight:4457, acceleration:13.5, year:74, origin:1},
-{name:"ford gran torino (sw)", mpg:14, cylinders:8, displacement:302, horsepower:140, weight:4638, acceleration:16, year:74, origin:1},
-{name:"amc matador (sw)", mpg:14, cylinders:8, displacement:304, horsepower:150, weight:4257, acceleration:15.5, year:74, origin:1},
-{name:"audi fox", mpg:29, cylinders:4, displacement:98, horsepower:83, weight:2219, acceleration:16.5, year:74, origin:2},
-{name:"volkswagen dasher", mpg:26, cylinders:4, displacement:79, horsepower:67, weight:1963, acceleration:15.5, year:74, origin:2},
-{name:"opel manta", mpg:26, cylinders:4, displacement:97, horsepower:78, weight:2300, acceleration:14.5, year:74, origin:2},
-{name:"toyota corona", mpg:31, cylinders:4, displacement:76, horsepower:52, weight:1649, acceleration:16.5, year:74, origin:3},
-{name:"datsun 710", mpg:32, cylinders:4, displacement:83, horsepower:61, weight:2003, acceleration:19, year:74, origin:3},
-{name:"dodge colt", mpg:28, cylinders:4, displacement:90, horsepower:75, weight:2125, acceleration:14.5, year:74, origin:1},
-{name:"fiat 128", mpg:24, cylinders:4, displacement:90, horsepower:75, weight:2108, acceleration:15.5, year:74, origin:2},
-{name:"fiat 124 tc", mpg:26, cylinders:4, displacement:116, horsepower:75, weight:2246, acceleration:14, year:74, origin:2},
-{name:"honda civic", mpg:24, cylinders:4, displacement:120, horsepower:97, weight:2489, acceleration:15, year:74, origin:3},
-{name:"subaru", mpg:26, cylinders:4, displacement:108, horsepower:93, weight:2391, acceleration:15.5, year:74, origin:3},
-{name:"fiat x1.9", mpg:31, cylinders:4, displacement:79, horsepower:67, weight:2000, acceleration:16, year:74, origin:2},
-{name:"plymouth valiant custom", mpg:19, cylinders:6, displacement:225, horsepower:95, weight:3264, acceleration:16, year:75, origin:1},
-{name:"chevrolet nova", mpg:18, cylinders:6, displacement:250, horsepower:105, weight:3459, acceleration:16, year:75, origin:1},
-{name:"mercury monarch", mpg:15, cylinders:6, displacement:250, horsepower:72, weight:3432, acceleration:21, year:75, origin:1},
-{name:"ford maverick", mpg:15, cylinders:6, displacement:250, horsepower:72, weight:3158, acceleration:19.5, year:75, origin:1},
-{name:"pontiac catalina", mpg:16, cylinders:8, displacement:400, horsepower:170, weight:4668, acceleration:11.5, year:75, origin:1},
-{name:"chevrolet bel air", mpg:15, cylinders:8, displacement:350, horsepower:145, weight:4440, acceleration:14, year:75, origin:1},
-{name:"plymouth grand fury", mpg:16, cylinders:8, displacement:318, horsepower:150, weight:4498, acceleration:14.5, year:75, origin:1},
-{name:"ford ltd", mpg:14, cylinders:8, displacement:351, horsepower:148, weight:4657, acceleration:13.5, year:75, origin:1},
-{name:"buick century", mpg:17, cylinders:6, displacement:231, horsepower:110, weight:3907, acceleration:21, year:75, origin:1},
-{name:"chevroelt chevelle malibu", mpg:16, cylinders:6, displacement:250, horsepower:105, weight:3897, acceleration:18.5, year:75, origin:1},
-{name:"amc matador", mpg:15, cylinders:6, displacement:258, horsepower:110, weight:3730, acceleration:19, year:75, origin:1},
-{name:"plymouth fury", mpg:18, cylinders:6, displacement:225, horsepower:95, weight:3785, acceleration:19, year:75, origin:1},
-{name:"buick skyhawk", mpg:21, cylinders:6, displacement:231, horsepower:110, weight:3039, acceleration:15, year:75, origin:1},
-{name:"chevrolet monza 2+2", mpg:20, cylinders:8, displacement:262, horsepower:110, weight:3221, acceleration:13.5, year:75, origin:1},
-{name:"ford mustang ii", mpg:13, cylinders:8, displacement:302, horsepower:129, weight:3169, acceleration:12, year:75, origin:1},
-{name:"toyota corolla", mpg:29, cylinders:4, displacement:97, horsepower:75, weight:2171, acceleration:16, year:75, origin:3},
-{name:"ford pinto", mpg:23, cylinders:4, displacement:140, horsepower:83, weight:2639, acceleration:17, year:75, origin:1},
-{name:"amc gremlin", mpg:20, cylinders:6, displacement:232, horsepower:100, weight:2914, acceleration:16, year:75, origin:1},
-{name:"pontiac astro", mpg:23, cylinders:4, displacement:140, horsepower:78, weight:2592, acceleration:18.5, year:75, origin:1},
-{name:"toyota corona", mpg:24, cylinders:4, displacement:134, horsepower:96, weight:2702, acceleration:13.5, year:75, origin:3},
-{name:"volkswagen dasher", mpg:25, cylinders:4, displacement:90, horsepower:71, weight:2223, acceleration:16.5, year:75, origin:2},
-{name:"datsun 710", mpg:24, cylinders:4, displacement:119, horsepower:97, weight:2545, acceleration:17, year:75, origin:3},
-{name:"ford pinto", mpg:18, cylinders:6, displacement:171, horsepower:97, weight:2984, acceleration:14.5, year:75, origin:1},
-{name:"volkswagen rabbit", mpg:29, cylinders:4, displacement:90, horsepower:70, weight:1937, acceleration:14, year:75, origin:2},
-{name:"amc pacer", mpg:19, cylinders:6, displacement:232, horsepower:90, weight:3211, acceleration:17, year:75, origin:1},
-{name:"audi 100ls", mpg:23, cylinders:4, displacement:115, horsepower:95, weight:2694, acceleration:15, year:75, origin:2},
-{name:"peugeot 504", mpg:23, cylinders:4, displacement:120, horsepower:88, weight:2957, acceleration:17, year:75, origin:2},
-{name:"volvo 244dl", mpg:22, cylinders:4, displacement:121, horsepower:98, weight:2945, acceleration:14.5, year:75, origin:2},
-{name:"saab 99le", mpg:25, cylinders:4, displacement:121, horsepower:115, weight:2671, acceleration:13.5, year:75, origin:2},
-{name:"honda civic cvcc", mpg:33, cylinders:4, displacement:91, horsepower:53, weight:1795, acceleration:17.5, year:75, origin:3},
-{name:"fiat 131", mpg:28, cylinders:4, displacement:107, horsepower:86, weight:2464, acceleration:15.5, year:76, origin:2},
-{name:"opel 1900", mpg:25, cylinders:4, displacement:116, horsepower:81, weight:2220, acceleration:16.9, year:76, origin:2},
-{name:"capri ii", mpg:25, cylinders:4, displacement:140, horsepower:92, weight:2572, acceleration:14.9, year:76, origin:1},
-{name:"dodge colt", mpg:26, cylinders:4, displacement:98, horsepower:79, weight:2255, acceleration:17.7, year:76, origin:1},
-{name:"renault 12tl", mpg:27, cylinders:4, displacement:101, horsepower:83, weight:2202, acceleration:15.3, year:76, origin:2},
-{name:"chevrolet chevelle malibu classic", mpg:17.5, cylinders:8, displacement:305, horsepower:140, weight:4215, acceleration:13, year:76, origin:1},
-{name:"dodge coronet brougham", mpg:16, cylinders:8, displacement:318, horsepower:150, weight:4190, acceleration:13, year:76, origin:1},
-{name:"amc matador", mpg:15.5, cylinders:8, displacement:304, horsepower:120, weight:3962, acceleration:13.9, year:76, origin:1},
-{name:"ford gran torino", mpg:14.5, cylinders:8, displacement:351, horsepower:152, weight:4215, acceleration:12.8, year:76, origin:1},
-{name:"plymouth valiant", mpg:22, cylinders:6, displacement:225, horsepower:100, weight:3233, acceleration:15.4, year:76, origin:1},
-{name:"chevrolet nova", mpg:22, cylinders:6, displacement:250, horsepower:105, weight:3353, acceleration:14.5, year:76, origin:1},
-{name:"ford maverick", mpg:24, cylinders:6, displacement:200, horsepower:81, weight:3012, acceleration:17.6, year:76, origin:1},
-{name:"amc hornet", mpg:22.5, cylinders:6, displacement:232, horsepower:90, weight:3085, acceleration:17.6, year:76, origin:1},
-{name:"chevrolet chevette", mpg:29, cylinders:4, displacement:85, horsepower:52, weight:2035, acceleration:22.2, year:76, origin:1},
-{name:"chevrolet woody", mpg:24.5, cylinders:4, displacement:98, horsepower:60, weight:2164, acceleration:22.1, year:76, origin:1},
-{name:"vw rabbit", mpg:29, cylinders:4, displacement:90, horsepower:70, weight:1937, acceleration:14.2, year:76, origin:2},
-{name:"honda civic", mpg:33, cylinders:4, displacement:91, horsepower:53, weight:1795, acceleration:17.4, year:76, origin:3},
-{name:"dodge aspen se", mpg:20, cylinders:6, displacement:225, horsepower:100, weight:3651, acceleration:17.7, year:76, origin:1},
-{name:"ford granada ghia", mpg:18, cylinders:6, displacement:250, horsepower:78, weight:3574, acceleration:21, year:76, origin:1},
-{name:"pontiac ventura sj", mpg:18.5, cylinders:6, displacement:250, horsepower:110, weight:3645, acceleration:16.2, year:76, origin:1},
-{name:"amc pacer d/l", mpg:17.5, cylinders:6, displacement:258, horsepower:95, weight:3193, acceleration:17.8, year:76, origin:1},
-{name:"volkswagen rabbit", mpg:29.5, cylinders:4, displacement:97, horsepower:71, weight:1825, acceleration:12.2, year:76, origin:2},
-{name:"datsun b-210", mpg:32, cylinders:4, displacement:85, horsepower:70, weight:1990, acceleration:17, year:76, origin:3},
-{name:"toyota corolla", mpg:28, cylinders:4, displacement:97, horsepower:75, weight:2155, acceleration:16.4, year:76, origin:3},
-{name:"ford pinto", mpg:26.5, cylinders:4, displacement:140, horsepower:72, weight:2565, acceleration:13.6, year:76, origin:1},
-{name:"volvo 245", mpg:20, cylinders:4, displacement:130, horsepower:102, weight:3150, acceleration:15.7, year:76, origin:2},
-{name:"plymouth volare premier v8", mpg:13, cylinders:8, displacement:318, horsepower:150, weight:3940, acceleration:13.2, year:76, origin:1},
-{name:"peugeot 504", mpg:19, cylinders:4, displacement:120, horsepower:88, weight:3270, acceleration:21.9, year:76, origin:2},
-{name:"toyota mark ii", mpg:19, cylinders:6, displacement:156, horsepower:108, weight:2930, acceleration:15.5, year:76, origin:3},
-{name:"mercedes-benz 280s", mpg:16.5, cylinders:6, displacement:168, horsepower:120, weight:3820, acceleration:16.7, year:76, origin:2},
-{name:"cadillac seville", mpg:16.5, cylinders:8, displacement:350, horsepower:180, weight:4380, acceleration:12.1, year:76, origin:1},
-{name:"chevy c10", mpg:13, cylinders:8, displacement:350, horsepower:145, weight:4055, acceleration:12, year:76, origin:1},
-{name:"ford f108", mpg:13, cylinders:8, displacement:302, horsepower:130, weight:3870, acceleration:15, year:76, origin:1},
-{name:"dodge d100", mpg:13, cylinders:8, displacement:318, horsepower:150, weight:3755, acceleration:14, year:76, origin:1},
-{name:"honda accord cvcc", mpg:31.5, cylinders:4, displacement:98, horsepower:68, weight:2045, acceleration:18.5, year:77, origin:3},
-{name:"buick opel isuzu deluxe", mpg:30, cylinders:4, displacement:111, horsepower:80, weight:2155, acceleration:14.8, year:77, origin:1},
-{name:"renault 5 gtl", mpg:36, cylinders:4, displacement:79, horsepower:58, weight:1825, acceleration:18.6, year:77, origin:2},
-{name:"plymouth arrow gs", mpg:25.5, cylinders:4, displacement:122, horsepower:96, weight:2300, acceleration:15.5, year:77, origin:1},
-{name:"datsun f-10 hatchback", mpg:33.5, cylinders:4, displacement:85, horsepower:70, weight:1945, acceleration:16.8, year:77, origin:3},
-{name:"chevrolet caprice classic", mpg:17.5, cylinders:8, displacement:305, horsepower:145, weight:3880, acceleration:12.5, year:77, origin:1},
-{name:"oldsmobile cutlass supreme", mpg:17, cylinders:8, displacement:260, horsepower:110, weight:4060, acceleration:19, year:77, origin:1},
-{name:"dodge monaco brougham", mpg:15.5, cylinders:8, displacement:318, horsepower:145, weight:4140, acceleration:13.7, year:77, origin:1},
-{name:"mercury cougar brougham", mpg:15, cylinders:8, displacement:302, horsepower:130, weight:4295, acceleration:14.9, year:77, origin:1},
-{name:"chevrolet concours", mpg:17.5, cylinders:6, displacement:250, horsepower:110, weight:3520, acceleration:16.4, year:77, origin:1},
-{name:"buick skylark", mpg:20.5, cylinders:6, displacement:231, horsepower:105, weight:3425, acceleration:16.9, year:77, origin:1},
-{name:"plymouth volare custom", mpg:19, cylinders:6, displacement:225, horsepower:100, weight:3630, acceleration:17.7, year:77, origin:1},
-{name:"ford granada", mpg:18.5, cylinders:6, displacement:250, horsepower:98, weight:3525, acceleration:19, year:77, origin:1},
-{name:"pontiac grand prix lj", mpg:16, cylinders:8, displacement:400, horsepower:180, weight:4220, acceleration:11.1, year:77, origin:1},
-{name:"chevrolet monte carlo landau", mpg:15.5, cylinders:8, displacement:350, horsepower:170, weight:4165, acceleration:11.4, year:77, origin:1},
-{name:"chrysler cordoba", mpg:15.5, cylinders:8, displacement:400, horsepower:190, weight:4325, acceleration:12.2, year:77, origin:1},
-{name:"ford thunderbird", mpg:16, cylinders:8, displacement:351, horsepower:149, weight:4335, acceleration:14.5, year:77, origin:1},
-{name:"volkswagen rabbit custom", mpg:29, cylinders:4, displacement:97, horsepower:78, weight:1940, acceleration:14.5, year:77, origin:2},
-{name:"pontiac sunbird coupe", mpg:24.5, cylinders:4, displacement:151, horsepower:88, weight:2740, acceleration:16, year:77, origin:1},
-{name:"toyota corolla liftback", mpg:26, cylinders:4, displacement:97, horsepower:75, weight:2265, acceleration:18.2, year:77, origin:3},
-{name:"ford mustang ii 2+2", mpg:25.5, cylinders:4, displacement:140, horsepower:89, weight:2755, acceleration:15.8, year:77, origin:1},
-{name:"chevrolet chevette", mpg:30.5, cylinders:4, displacement:98, horsepower:63, weight:2051, acceleration:17, year:77, origin:1},
-{name:"dodge colt m/m", mpg:33.5, cylinders:4, displacement:98, horsepower:83, weight:2075, acceleration:15.9, year:77, origin:1},
-{name:"subaru dl", mpg:30, cylinders:4, displacement:97, horsepower:67, weight:1985, acceleration:16.4, year:77, origin:3},
-{name:"volkswagen dasher", mpg:30.5, cylinders:4, displacement:97, horsepower:78, weight:2190, acceleration:14.1, year:77, origin:2},
-{name:"datsun 810", mpg:22, cylinders:6, displacement:146, horsepower:97, weight:2815, acceleration:14.5, year:77, origin:3},
-{name:"bmw 320i", mpg:21.5, cylinders:4, displacement:121, horsepower:110, weight:2600, acceleration:12.8, year:77, origin:2},
-{name:"mazda rx-4", mpg:21.5, cylinders:3, displacement:80, horsepower:110, weight:2720, acceleration:13.5, year:77, origin:3},
-{name:"volkswagen rabbit custom diesel", mpg:43.1, cylinders:4, displacement:90, horsepower:48, weight:1985, acceleration:21.5, year:78, origin:2},
-{name:"ford fiesta", mpg:36.1, cylinders:4, displacement:98, horsepower:66, weight:1800, acceleration:14.4, year:78, origin:1},
-{name:"mazda glc deluxe", mpg:32.8, cylinders:4, displacement:78, horsepower:52, weight:1985, acceleration:19.4, year:78, origin:3},
-{name:"datsun b210 gx", mpg:39.4, cylinders:4, displacement:85, horsepower:70, weight:2070, acceleration:18.6, year:78, origin:3},
-{name:"honda civic cvcc", mpg:36.1, cylinders:4, displacement:91, horsepower:60, weight:1800, acceleration:16.4, year:78, origin:3},
-{name:"oldsmobile cutlass salon brougham", mpg:19.9, cylinders:8, displacement:260, horsepower:110, weight:3365, acceleration:15.5, year:78, origin:1},
-{name:"dodge diplomat", mpg:19.4, cylinders:8, displacement:318, horsepower:140, weight:3735, acceleration:13.2, year:78, origin:1},
-{name:"mercury monarch ghia", mpg:20.2, cylinders:8, displacement:302, horsepower:139, weight:3570, acceleration:12.8, year:78, origin:1},
-{name:"pontiac phoenix lj", mpg:19.2, cylinders:6, displacement:231, horsepower:105, weight:3535, acceleration:19.2, year:78, origin:1},
-{name:"chevrolet malibu", mpg:20.5, cylinders:6, displacement:200, horsepower:95, weight:3155, acceleration:18.2, year:78, origin:1},
-{name:"ford fairmont (auto)", mpg:20.2, cylinders:6, displacement:200, horsepower:85, weight:2965, acceleration:15.8, year:78, origin:1},
-{name:"ford fairmont (man)", mpg:25.1, cylinders:4, displacement:140, horsepower:88, weight:2720, acceleration:15.4, year:78, origin:1},
-{name:"plymouth volare", mpg:20.5, cylinders:6, displacement:225, horsepower:100, weight:3430, acceleration:17.2, year:78, origin:1},
-{name:"amc concord", mpg:19.4, cylinders:6, displacement:232, horsepower:90, weight:3210, acceleration:17.2, year:78, origin:1},
-{name:"buick century special", mpg:20.6, cylinders:6, displacement:231, horsepower:105, weight:3380, acceleration:15.8, year:78, origin:1},
-{name:"mercury zephyr", mpg:20.8, cylinders:6, displacement:200, horsepower:85, weight:3070, acceleration:16.7, year:78, origin:1},
-{name:"dodge aspen", mpg:18.6, cylinders:6, displacement:225, horsepower:110, weight:3620, acceleration:18.7, year:78, origin:1},
-{name:"amc concord d/l", mpg:18.1, cylinders:6, displacement:258, horsepower:120, weight:3410, acceleration:15.1, year:78, origin:1},
-{name:"chevrolet monte carlo landau", mpg:19.2, cylinders:8, displacement:305, horsepower:145, weight:3425, acceleration:13.2, year:78, origin:1},
-{name:"buick regal sport coupe (turbo)", mpg:17.7, cylinders:6, displacement:231, horsepower:165, weight:3445, acceleration:13.4, year:78, origin:1},
-{name:"ford futura", mpg:18.1, cylinders:8, displacement:302, horsepower:139, weight:3205, acceleration:11.2, year:78, origin:1},
-{name:"dodge magnum xe", mpg:17.5, cylinders:8, displacement:318, horsepower:140, weight:4080, acceleration:13.7, year:78, origin:1},
-{name:"chevrolet chevette", mpg:30, cylinders:4, displacement:98, horsepower:68, weight:2155, acceleration:16.5, year:78, origin:1},
-{name:"toyota corona", mpg:27.5, cylinders:4, displacement:134, horsepower:95, weight:2560, acceleration:14.2, year:78, origin:3},
-{name:"datsun 510", mpg:27.2, cylinders:4, displacement:119, horsepower:97, weight:2300, acceleration:14.7, year:78, origin:3},
-{name:"dodge omni", mpg:30.9, cylinders:4, displacement:105, horsepower:75, weight:2230, acceleration:14.5, year:78, origin:1},
-{name:"toyota celica gt liftback", mpg:21.1, cylinders:4, displacement:134, horsepower:95, weight:2515, acceleration:14.8, year:78, origin:3},
-{name:"plymouth sapporo", mpg:23.2, cylinders:4, displacement:156, horsepower:105, weight:2745, acceleration:16.7, year:78, origin:1},
-{name:"oldsmobile starfire sx", mpg:23.8, cylinders:4, displacement:151, horsepower:85, weight:2855, acceleration:17.6, year:78, origin:1},
-{name:"datsun 200-sx", mpg:23.9, cylinders:4, displacement:119, horsepower:97, weight:2405, acceleration:14.9, year:78, origin:3},
-{name:"audi 5000", mpg:20.3, cylinders:5, displacement:131, horsepower:103, weight:2830, acceleration:15.9, year:78, origin:2},
-{name:"volvo 264gl", mpg:17, cylinders:6, displacement:163, horsepower:125, weight:3140, acceleration:13.6, year:78, origin:2},
-{name:"saab 99gle", mpg:21.6, cylinders:4, displacement:121, horsepower:115, weight:2795, acceleration:15.7, year:78, origin:2},
-{name:"peugeot 604sl", mpg:16.2, cylinders:6, displacement:163, horsepower:133, weight:3410, acceleration:15.8, year:78, origin:2},
-{name:"volkswagen scirocco", mpg:31.5, cylinders:4, displacement:89, horsepower:71, weight:1990, acceleration:14.9, year:78, origin:2},
-{name:"honda accord lx", mpg:29.5, cylinders:4, displacement:98, horsepower:68, weight:2135, acceleration:16.6, year:78, origin:3},
-{name:"pontiac lemans v6", mpg:21.5, cylinders:6, displacement:231, horsepower:115, weight:3245, acceleration:15.4, year:79, origin:1},
-{name:"mercury zephyr 6", mpg:19.8, cylinders:6, displacement:200, horsepower:85, weight:2990, acceleration:18.2, year:79, origin:1},
-{name:"ford fairmont 4", mpg:22.3, cylinders:4, displacement:140, horsepower:88, weight:2890, acceleration:17.3, year:79, origin:1},
-{name:"amc concord dl 6", mpg:20.2, cylinders:6, displacement:232, horsepower:90, weight:3265, acceleration:18.2, year:79, origin:1},
-{name:"dodge aspen 6", mpg:20.6, cylinders:6, displacement:225, horsepower:110, weight:3360, acceleration:16.6, year:79, origin:1},
-{name:"chevrolet caprice classic", mpg:17, cylinders:8, displacement:305, horsepower:130, weight:3840, acceleration:15.4, year:79, origin:1},
-{name:"ford ltd landau", mpg:17.6, cylinders:8, displacement:302, horsepower:129, weight:3725, acceleration:13.4, year:79, origin:1},
-{name:"mercury grand marquis", mpg:16.5, cylinders:8, displacement:351, horsepower:138, weight:3955, acceleration:13.2, year:79, origin:1},
-{name:"dodge st. regis", mpg:18.2, cylinders:8, displacement:318, horsepower:135, weight:3830, acceleration:15.2, year:79, origin:1},
-{name:"buick estate wagon (sw)", mpg:16.9, cylinders:8, displacement:350, horsepower:155, weight:4360, acceleration:14.9, year:79, origin:1},
-{name:"ford country squire (sw)", mpg:15.5, cylinders:8, displacement:351, horsepower:142, weight:4054, acceleration:14.3, year:79, origin:1},
-{name:"chevrolet malibu classic (sw)", mpg:19.2, cylinders:8, displacement:267, horsepower:125, weight:3605, acceleration:15, year:79, origin:1},
-{name:"chrysler lebaron town @ country (sw)", mpg:18.5, cylinders:8, displacement:360, horsepower:150, weight:3940, acceleration:13, year:79, origin:1},
-{name:"vw rabbit custom", mpg:31.9, cylinders:4, displacement:89, horsepower:71, weight:1925, acceleration:14, year:79, origin:2},
-{name:"maxda glc deluxe", mpg:34.1, cylinders:4, displacement:86, horsepower:65, weight:1975, acceleration:15.2, year:79, origin:3},
-{name:"dodge colt hatchback custom", mpg:35.7, cylinders:4, displacement:98, horsepower:80, weight:1915, acceleration:14.4, year:79, origin:1},
-{name:"amc spirit dl", mpg:27.4, cylinders:4, displacement:121, horsepower:80, weight:2670, acceleration:15, year:79, origin:1},
-{name:"mercedes benz 300d", mpg:25.4, cylinders:5, displacement:183, horsepower:77, weight:3530, acceleration:20.1, year:79, origin:2},
-{name:"cadillac eldorado", mpg:23, cylinders:8, displacement:350, horsepower:125, weight:3900, acceleration:17.4, year:79, origin:1},
-{name:"peugeot 504", mpg:27.2, cylinders:4, displacement:141, horsepower:71, weight:3190, acceleration:24.8, year:79, origin:2},
-{name:"oldsmobile cutlass salon brougham", mpg:23.9, cylinders:8, displacement:260, horsepower:90, weight:3420, acceleration:22.2, year:79, origin:1},
-{name:"plymouth horizon", mpg:34.2, cylinders:4, displacement:105, horsepower:70, weight:2200, acceleration:13.2, year:79, origin:1},
-{name:"plymouth horizon tc3", mpg:34.5, cylinders:4, displacement:105, horsepower:70, weight:2150, acceleration:14.9, year:79, origin:1},
-{name:"datsun 210", mpg:31.8, cylinders:4, displacement:85, horsepower:65, weight:2020, acceleration:19.2, year:79, origin:3},
-{name:"fiat strada custom", mpg:37.3, cylinders:4, displacement:91, horsepower:69, weight:2130, acceleration:14.7, year:79, origin:2},
-{name:"buick skylark limited", mpg:28.4, cylinders:4, displacement:151, horsepower:90, weight:2670, acceleration:16, year:79, origin:1},
-{name:"chevrolet citation", mpg:28.8, cylinders:6, displacement:173, horsepower:115, weight:2595, acceleration:11.3, year:79, origin:1},
-{name:"oldsmobile omega brougham", mpg:26.8, cylinders:6, displacement:173, horsepower:115, weight:2700, acceleration:12.9, year:79, origin:1},
-{name:"pontiac phoenix", mpg:33.5, cylinders:4, displacement:151, horsepower:90, weight:2556, acceleration:13.2, year:79, origin:1},
-{name:"vw rabbit", mpg:41.5, cylinders:4, displacement:98, horsepower:76, weight:2144, acceleration:14.7, year:80, origin:2},
-{name:"toyota corolla tercel", mpg:38.1, cylinders:4, displacement:89, horsepower:60, weight:1968, acceleration:18.8, year:80, origin:3},
-{name:"chevrolet chevette", mpg:32.1, cylinders:4, displacement:98, horsepower:70, weight:2120, acceleration:15.5, year:80, origin:1},
-{name:"datsun 310", mpg:37.2, cylinders:4, displacement:86, horsepower:65, weight:2019, acceleration:16.4, year:80, origin:3},
-{name:"chevrolet citation", mpg:28, cylinders:4, displacement:151, horsepower:90, weight:2678, acceleration:16.5, year:80, origin:1},
-{name:"ford fairmont", mpg:26.4, cylinders:4, displacement:140, horsepower:88, weight:2870, acceleration:18.1, year:80, origin:1},
-{name:"amc concord", mpg:24.3, cylinders:4, displacement:151, horsepower:90, weight:3003, acceleration:20.1, year:80, origin:1},
-{name:"dodge aspen", mpg:19.1, cylinders:6, displacement:225, horsepower:90, weight:3381, acceleration:18.7, year:80, origin:1},
-{name:"audi 4000", mpg:34.3, cylinders:4, displacement:97, horsepower:78, weight:2188, acceleration:15.8, year:80, origin:2},
-{name:"toyota corona liftback", mpg:29.8, cylinders:4, displacement:134, horsepower:90, weight:2711, acceleration:15.5, year:80, origin:3},
-{name:"mazda 626", mpg:31.3, cylinders:4, displacement:120, horsepower:75, weight:2542, acceleration:17.5, year:80, origin:3},
-{name:"datsun 510 hatchback", mpg:37, cylinders:4, displacement:119, horsepower:92, weight:2434, acceleration:15, year:80, origin:3},
-{name:"toyota corolla", mpg:32.2, cylinders:4, displacement:108, horsepower:75, weight:2265, acceleration:15.2, year:80, origin:3},
-{name:"mazda glc", mpg:46.6, cylinders:4, displacement:86, horsepower:65, weight:2110, acceleration:17.9, year:80, origin:3},
-{name:"dodge colt", mpg:27.9, cylinders:4, displacement:156, horsepower:105, weight:2800, acceleration:14.4, year:80, origin:1},
-{name:"datsun 210", mpg:40.8, cylinders:4, displacement:85, horsepower:65, weight:2110, acceleration:19.2, year:80, origin:3},
-{name:"vw rabbit c (diesel)", mpg:44.3, cylinders:4, displacement:90, horsepower:48, weight:2085, acceleration:21.7, year:80, origin:2},
-{name:"vw dasher (diesel)", mpg:43.4, cylinders:4, displacement:90, horsepower:48, weight:2335, acceleration:23.7, year:80, origin:2},
-{name:"audi 5000s (diesel)", mpg:36.4, cylinders:5, displacement:121, horsepower:67, weight:2950, acceleration:19.9, year:80, origin:2},
-{name:"mercedes-benz 240d", mpg:30, cylinders:4, displacement:146, horsepower:67, weight:3250, acceleration:21.8, year:80, origin:2},
-{name:"honda civic 1500 gl", mpg:44.6, cylinders:4, displacement:91, horsepower:67, weight:1850, acceleration:13.8, year:80, origin:3},
-{name:"renault lecar deluxe", mpg:40.9, cylinders:4, displacement:85, horsepower:undefined, weight:1835, acceleration:17.3, year:80, origin:2},
-{name:"subaru dl", mpg:33.8, cylinders:4, displacement:97, horsepower:67, weight:2145, acceleration:18, year:80, origin:3},
-{name:"vokswagen rabbit", mpg:29.8, cylinders:4, displacement:89, horsepower:62, weight:1845, acceleration:15.3, year:80, origin:2},
-{name:"datsun 280-zx", mpg:32.7, cylinders:6, displacement:168, horsepower:132, weight:2910, acceleration:11.4, year:80, origin:3},
-{name:"mazda rx-7 gs", mpg:23.7, cylinders:3, displacement:70, horsepower:100, weight:2420, acceleration:12.5, year:80, origin:3},
-{name:"triumph tr7 coupe", mpg:35, cylinders:4, displacement:122, horsepower:88, weight:2500, acceleration:15.1, year:80, origin:2},
-{name:"ford mustang cobra", mpg:23.6, cylinders:4, displacement:140, horsepower:undefined, weight:2905, acceleration:14.3, year:80, origin:1},
-{name:"honda accord", mpg:32.4, cylinders:4, displacement:107, horsepower:72, weight:2290, acceleration:17, year:80, origin:3},
-{name:"plymouth reliant", mpg:27.2, cylinders:4, displacement:135, horsepower:84, weight:2490, acceleration:15.7, year:81, origin:1},
-{name:"buick skylark", mpg:26.6, cylinders:4, displacement:151, horsepower:84, weight:2635, acceleration:16.4, year:81, origin:1},
-{name:"dodge aries wagon (sw)", mpg:25.8, cylinders:4, displacement:156, horsepower:92, weight:2620, acceleration:14.4, year:81, origin:1},
-{name:"chevrolet citation", mpg:23.5, cylinders:6, displacement:173, horsepower:110, weight:2725, acceleration:12.6, year:81, origin:1},
-{name:"plymouth reliant", mpg:30, cylinders:4, displacement:135, horsepower:84, weight:2385, acceleration:12.9, year:81, origin:1},
-{name:"toyota starlet", mpg:39.1, cylinders:4, displacement:79, horsepower:58, weight:1755, acceleration:16.9, year:81, origin:3},
-{name:"plymouth champ", mpg:39, cylinders:4, displacement:86, horsepower:64, weight:1875, acceleration:16.4, year:81, origin:1},
-{name:"honda civic 1300", mpg:35.1, cylinders:4, displacement:81, horsepower:60, weight:1760, acceleration:16.1, year:81, origin:3},
-{name:"subaru", mpg:32.3, cylinders:4, displacement:97, horsepower:67, weight:2065, acceleration:17.8, year:81, origin:3},
-{name:"datsun 210 mpg", mpg:37, cylinders:4, displacement:85, horsepower:65, weight:1975, acceleration:19.4, year:81, origin:3},
-{name:"toyota tercel", mpg:37.7, cylinders:4, displacement:89, horsepower:62, weight:2050, acceleration:17.3, year:81, origin:3},
-{name:"mazda glc 4", mpg:34.1, cylinders:4, displacement:91, horsepower:68, weight:1985, acceleration:16, year:81, origin:3},
-{name:"plymouth horizon 4", mpg:34.7, cylinders:4, displacement:105, horsepower:63, weight:2215, acceleration:14.9, year:81, origin:1},
-{name:"ford escort 4w", mpg:34.4, cylinders:4, displacement:98, horsepower:65, weight:2045, acceleration:16.2, year:81, origin:1},
-{name:"ford escort 2h", mpg:29.9, cylinders:4, displacement:98, horsepower:65, weight:2380, acceleration:20.7, year:81, origin:1},
-{name:"volkswagen jetta", mpg:33, cylinders:4, displacement:105, horsepower:74, weight:2190, acceleration:14.2, year:81, origin:2},
-{name:"renault 18i", mpg:34.5, cylinders:4, displacement:100, horsepower:undefined, weight:2320, acceleration:15.8, year:81, origin:2},
-{name:"honda prelude", mpg:33.7, cylinders:4, displacement:107, horsepower:75, weight:2210, acceleration:14.4, year:81, origin:3},
-{name:"toyota corolla", mpg:32.4, cylinders:4, displacement:108, horsepower:75, weight:2350, acceleration:16.8, year:81, origin:3},
-{name:"datsun 200sx", mpg:32.9, cylinders:4, displacement:119, horsepower:100, weight:2615, acceleration:14.8, year:81, origin:3},
-{name:"mazda 626", mpg:31.6, cylinders:4, displacement:120, horsepower:74, weight:2635, acceleration:18.3, year:81, origin:3},
-{name:"peugeot 505s turbo diesel", mpg:28.1, cylinders:4, displacement:141, horsepower:80, weight:3230, acceleration:20.4, year:81, origin:2},
-{name:"saab 900s", mpg:undefined, cylinders:4, displacement:121, horsepower:110, weight:2800, acceleration:15.4, year:81, origin:2},
-{name:"volvo diesel", mpg:30.7, cylinders:6, displacement:145, horsepower:76, weight:3160, acceleration:19.6, year:81, origin:2},
-{name:"toyota cressida", mpg:25.4, cylinders:6, displacement:168, horsepower:116, weight:2900, acceleration:12.6, year:81, origin:3},
-{name:"datsun 810 maxima", mpg:24.2, cylinders:6, displacement:146, horsepower:120, weight:2930, acceleration:13.8, year:81, origin:3},
-{name:"buick century", mpg:22.4, cylinders:6, displacement:231, horsepower:110, weight:3415, acceleration:15.8, year:81, origin:1},
-{name:"oldsmobile cutlass ls", mpg:26.6, cylinders:8, displacement:350, horsepower:105, weight:3725, acceleration:19, year:81, origin:1},
-{name:"ford granada gl", mpg:20.2, cylinders:6, displacement:200, horsepower:88, weight:3060, acceleration:17.1, year:81, origin:1},
-{name:"chrysler lebaron salon", mpg:17.6, cylinders:6, displacement:225, horsepower:85, weight:3465, acceleration:16.6, year:81, origin:1},
-{name:"chevrolet cavalier", mpg:28, cylinders:4, displacement:112, horsepower:88, weight:2605, acceleration:19.6, year:82, origin:1},
-{name:"chevrolet cavalier wagon", mpg:27, cylinders:4, displacement:112, horsepower:88, weight:2640, acceleration:18.6, year:82, origin:1},
-{name:"chevrolet cavalier 2-door", mpg:34, cylinders:4, displacement:112, horsepower:88, weight:2395, acceleration:18, year:82, origin:1},
-{name:"pontiac j2000 se hatchback", mpg:31, cylinders:4, displacement:112, horsepower:85, weight:2575, acceleration:16.2, year:82, origin:1},
-{name:"dodge aries se", mpg:29, cylinders:4, displacement:135, horsepower:84, weight:2525, acceleration:16, year:82, origin:1},
-{name:"pontiac phoenix", mpg:27, cylinders:4, displacement:151, horsepower:90, weight:2735, acceleration:18, year:82, origin:1},
-{name:"ford fairmont futura", mpg:24, cylinders:4, displacement:140, horsepower:92, weight:2865, acceleration:16.4, year:82, origin:1},
-{name:"amc concord dl", mpg:23, cylinders:4, displacement:151, horsepower:undefined, weight:3035, acceleration:20.5, year:82, origin:1},
-{name:"volkswagen rabbit l", mpg:36, cylinders:4, displacement:105, horsepower:74, weight:1980, acceleration:15.3, year:82, origin:2},
-{name:"mazda glc custom l", mpg:37, cylinders:4, displacement:91, horsepower:68, weight:2025, acceleration:18.2, year:82, origin:3},
-{name:"mazda glc custom", mpg:31, cylinders:4, displacement:91, horsepower:68, weight:1970, acceleration:17.6, year:82, origin:3},
-{name:"plymouth horizon miser", mpg:38, cylinders:4, displacement:105, horsepower:63, weight:2125, acceleration:14.7, year:82, origin:1},
-{name:"mercury lynx l", mpg:36, cylinders:4, displacement:98, horsepower:70, weight:2125, acceleration:17.3, year:82, origin:1},
-{name:"nissan stanza xe", mpg:36, cylinders:4, displacement:120, horsepower:88, weight:2160, acceleration:14.5, year:82, origin:3},
-{name:"honda accord", mpg:36, cylinders:4, displacement:107, horsepower:75, weight:2205, acceleration:14.5, year:82, origin:3},
-{name:"toyota corolla", mpg:34, cylinders:4, displacement:108, horsepower:70, weight:2245, acceleration:16.9, year:82, origin:3},
-{name:"honda civic", mpg:38, cylinders:4, displacement:91, horsepower:67, weight:1965, acceleration:15, year:82, origin:3},
-{name:"honda civic (auto)", mpg:32, cylinders:4, displacement:91, horsepower:67, weight:1965, acceleration:15.7, year:82, origin:3},
-{name:"datsun 310 gx", mpg:38, cylinders:4, displacement:91, horsepower:67, weight:1995, acceleration:16.2, year:82, origin:3},
-{name:"buick century limited", mpg:25, cylinders:6, displacement:181, horsepower:110, weight:2945, acceleration:16.4, year:82, origin:1},
-{name:"oldsmobile cutlass ciera (diesel)", mpg:38, cylinders:6, displacement:262, horsepower:85, weight:3015, acceleration:17, year:82, origin:1},
-{name:"chrysler lebaron medallion", mpg:26, cylinders:4, displacement:156, horsepower:92, weight:2585, acceleration:14.5, year:82, origin:1},
-{name:"ford granada l", mpg:22, cylinders:6, displacement:232, horsepower:112, weight:2835, acceleration:14.7, year:82, origin:1},
-{name:"toyota celica gt", mpg:32, cylinders:4, displacement:144, horsepower:96, weight:2665, acceleration:13.9, year:82, origin:3},