├── README.md ├── package.json ├── .project ├── LICENSE ├── .gitignore ├── index.html ├── dropdownChange.js └── car.csv /README.md: -------------------------------------------------------------------------------- 1 | # D3Challenge 2 | 3 | ## Task 3: Interactive Scatterplot 4 | Render an interactive scatterplot of the data: 5 | - Dimensions for x-axis and y-axis can be selected. 6 | - Filtering on MPG is supported. 7 | - Hovered car name is shown as the h4 header. 8 | 9 | ## Tips: 10 | You need to start a server in this case in the index.html directory:`python -m SimpleHTTPServer` 11 | 12 | Then access your webpage by `http://localhost:8000/` 13 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "car", 3 | "version": "1.0.0", 4 | "description": "lab6", 5 | "main": "1", 6 | "scripts": { 7 | "test": "1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/googlr/D3Challenge.git" 12 | }, 13 | "keywords": [ 14 | "car" 15 | ], 16 | "author": "ccw, xjg, crl", 17 | "license": "ISC", 18 | "bugs": { 19 | "url": "https://github.com/googlr/D3Challenge/issues" 20 | }, 21 | "homepage": "https://github.com/googlr/D3Challenge#readme", 22 | "dependencies": { 23 | "d3": "^4.11.0", 24 | "jquery": "^3.2.1" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | D3Challenge 4 | 5 | 6 | 7 | 8 | 9 | com.aptana.ide.core.unifiedBuilder 10 | 11 | 12 | 13 | 14 | 15 | com.aptana.projects.webnature 16 | 17 | 18 | 19 | 1510435369967 20 | 21 | 26 22 | 23 | org.eclipse.ui.ide.multiFilter 24 | 1.0-name-matches-false-false-node_modules 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_store 2 | 3 | # node-modules 4 | ./node_modules/* 5 | 6 | # Logs 7 | logs 8 | *.log 9 | npm-debug.log* 10 | yarn-debug.log* 11 | yarn-error.log* 12 | 13 | # Runtime data 14 | pids 15 | *.pid 16 | *.seed 17 | *.pid.lock 18 | 19 | # Directory for instrumented libs generated by jscoverage/JSCover 20 | lib-cov 21 | 22 | # Coverage directory used by tools like istanbul 23 | coverage 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | node_modules/ 42 | jspm_packages/ 43 | 44 | # Typescript v1 declaration files 45 | typings/ 46 | 47 | # Optional npm cache directory 48 | .npm 49 | 50 | # Optional eslint cache 51 | .eslintcache 52 | 53 | # Optional REPL history 54 | .node_repl_history 55 | 56 | # Output of 'npm pack' 57 | *.tgz 58 | 59 | # Yarn Integrity file 60 | .yarn-integrity 61 | 62 | # dotenv environment variables file 63 | .env 64 | 65 | 66 | .gradle 67 | /build/ 68 | 69 | # Ignore Gradle GUI config 70 | gradle-app.setting 71 | 72 | # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) 73 | !gradle-wrapper.jar 74 | 75 | # Cache of project 76 | .gradletasknamecache 77 | 78 | # # Work around https://youtrack.jetbrains.com/issue/IDEA-116898 79 | # gradle/wrapper/gradle-wrapper.properties 80 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

chevrolet chevelle malibu

10 |
11 | 12 |
13 |
14 |
15 | 16 | 25 | 26 | 35 |
36 |
37 | 38 | 39 | 40 |
41 |
42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /dropdownChange.js: -------------------------------------------------------------------------------- 1 | 2 | // Create Event Handlers for mouse 3 | function handleMouseOver(d) { // Add interactivity 4 | 5 | // Use D3 to select element, change color and size 6 | $("#hovered").html(d["name"]); 7 | } 8 | 9 | function handleMouseOut(d, i) { 10 | // Use D3 to select element, change color back to normal 11 | } 12 | 13 | var draw = function(xdata, ydata, low, high) { 14 | d3.selectAll("svg > *").remove(); 15 | var margin = { 16 | top: 50, 17 | right: 50, 18 | bottom: 50, 19 | left: 50 20 | }, 21 | width = 500 - margin.left - margin.right, 22 | height = 500 - margin.top - margin.bottom; 23 | 24 | // create svg 25 | var svg = d3.select("svg") 26 | // set svg width and height 27 | .attr("width", width + margin.left + margin.right) 28 | .attr("height", height + margin.top + margin.bottom) 29 | .append("g") 30 | .attr("transform", 31 | "translate(" + margin.left + "," + margin.top + ")"); 32 | 33 | var data = d3.csv("car.csv", function(error, data) { 34 | if(error) throw error; 35 | 36 | // format the data 37 | data.forEach(function(d) { 38 | if(xdata != "mpg" || ydata != "mpg") { 39 | d["mpg"] = +d["mpg"]; 40 | } 41 | d[xdata] = +d[xdata]; 42 | d[ydata] = +d[ydata]; 43 | }); 44 | // filter 45 | data = data.filter(function(d) { 46 | return d["mpg"] >= low && d["mpg"] <= high; 47 | }); 48 | // making scale 49 | var scaleX = d3.scaleLinear() 50 | .range([0, width]) 51 | .domain([d3.min(data, function(d) { 52 | return d[xdata]; 53 | }) / 1.05, d3.max(data, function(d) { 54 | return d[xdata]; 55 | })]); 56 | 57 | var scaleY = d3.scaleLinear() 58 | .range([height, 0]) 59 | .domain([d3.min(data, function(d) { 60 | return d[ydata]; 61 | }) / 1.05, d3.max(data, function(d) { 62 | return d[ydata]; 63 | })]); 64 | 65 | // Add the X Axis 66 | svg.append("g") 67 | .attr("class", "axis") 68 | .attr("transform", "translate(0," + (height) + ")") 69 | .call(d3.axisBottom(scaleX).ticks(5)); 70 | 71 | // X Axis text 72 | // text label for the x axis 73 | svg.append("text") 74 | .attr("transform", 75 | "translate(" + (width) + " ," + 76 | (height + margin.top- 10) + ")") 77 | .style("text-anchor", "middle") 78 | .text(xdata); 79 | 80 | // Add the Y Axis 81 | svg.append("g") 82 | .attr("class", "axis") 83 | .call(d3.axisLeft(scaleY)); 84 | 85 | // text label for the y axis 86 | svg.append("text") 87 | .attr("transform", "rotate(-90)") 88 | .attr("y", 0 - margin.left) 89 | .attr("x", 0) 90 | .attr("dy", "1em") 91 | .style("text-anchor", "middle") 92 | .text(ydata); 93 | 94 | // add points 95 | svg.selectAll("circle") 96 | .data(data) 97 | .enter() 98 | .append("circle") 99 | .attr("cx", function(d) { 100 | return scaleX(d[xdata]); 101 | }) 102 | .attr("cy", function(d) { 103 | return scaleY(d[ydata]); 104 | }) 105 | .attr("name", function(d) { 106 | return d["name"]; 107 | }) 108 | .attr("r", 2) 109 | .on("mouseover", handleMouseOver) 110 | .on("mouseout", handleMouseOut); 111 | 112 | // add text 113 | 114 | }); 115 | 116 | }; 117 | 118 | action = function() { 119 | var sel_x = $("#sel-x").val(), 120 | sel_y = $("#sel-y").val(); 121 | var mpg_min = $("#mpg-min").val(), 122 | mpg_max = $("#mpg-max").val(); 123 | draw(sel_x, sel_y, mpg_min, mpg_max); 124 | } 125 | 126 | // Draw the chart 127 | $(document).ready(function() { 128 | 129 | $('#update').click(function() { 130 | action(); 131 | }); 132 | 133 | $("#sel-x").change(function() { 134 | action(); 135 | }); 136 | 137 | $("#sel-y").change(function() { 138 | action(); 139 | }); 140 | }); 141 | 142 | // Hover 143 | $(document).ready(function() { 144 | action(); 145 | $("hovered").hover(function() { 146 | $(this).css("background-color", "yellow"); 147 | }, function() { 148 | $(this).css("background-color", "pink"); 149 | }); 150 | }); -------------------------------------------------------------------------------- /car.csv: -------------------------------------------------------------------------------- 1 | name,mpg,cylinders,displacement,horsepower,weight,acceleration,model.year,origin 2 | chevrolet chevelle malibu,18,8,307,130,3504,12,1970,American 3 | buick skylark 320,15,8,350,165,3693,11.5,1970,American 4 | plymouth satellite,18,8,318,150,3436,11,1970,American 5 | amc rebel sst,16,8,304,150,3433,12,1970,American 6 | ford torino,17,8,302,140,3449,10.5,1970,American 7 | ford galaxie 500,15,8,429,198,4341,10,1970,American 8 | chevrolet impala,14,8,454,220,4354,9,1970,American 9 | plymouth fury iii,14,8,440,215,4312,8.5,1970,American 10 | pontiac catalina,14,8,455,225,4425,10,1970,American 11 | amc ambassador dpl,15,8,390,190,3850,8.5,1970,American 12 | dodge challenger se,15,8,383,170,3563,10,1970,American 13 | plymouth ,14,8,340,160,3609,8,1970,American 14 | chevrolet monte carlo,15,8,400,150,3761,9.5,1970,American 15 | buick estate wagon (sw),14,8,455,225,3086,10,1970,American 16 | toyota corona mark ii,24,4,113,95,2372,15,1970,Japanese 17 | plymouth duster,22,6,198,95,2833,15.5,1970,American 18 | amc hornet,18,6,199,97,2774,15.5,1970,American 19 | ford maverick,21,6,200,85,2587,16,1970,American 20 | datsun pl510,27,4,97,88,2130,14.5,1970,Japanese 21 | volkswagen 1131 deluxe sedan,26,4,97,46,1835,20.5,1970,European 22 | peugeot 504,25,4,110,87,2672,17.5,1970,European 23 | audi 100 ls,24,4,107,90,2430,14.5,1970,European 24 | saab 99e,25,4,104,95,2375,17.5,1970,European 25 | bmw 2002,26,4,121,113,2234,12.5,1970,European 26 | amc gremlin,21,6,199,90,2648,15,1970,American 27 | ford f250,10,8,360,215,4615,14,1970,American 28 | chevy c20,10,8,307,200,4376,15,1970,American 29 | dodge d200,11,8,318,210,4382,13.5,1970,American 30 | hi 1200d,9,8,304,193,4732,18.5,1970,American 31 | datsun pl510,27,4,97,88,2130,14.5,1971,Japanese 32 | chevrolet vega 2300,28,4,140,90,2264,15.5,1971,American 33 | toyota corona,25,4,113,95,2228,14,1971,Japanese 34 | amc gremlin,19,6,232,100,2634,13,1971,American 35 | plymouth satellite custom,16,6,225,105,3439,15.5,1971,American 36 | chevrolet chevelle malibu,17,6,250,100,3329,15.5,1971,American 37 | ford torino 500,19,6,250,88,3302,15.5,1971,American 38 | amc matador,18,6,232,100,3288,15.5,1971,American 39 | chevrolet impala,14,8,350,165,4209,12,1971,American 40 | pontiac catalina brougham,14,8,400,175,4464,11.5,1971,American 41 | ford galaxie 500,14,8,351,153,4154,13.5,1971,American 42 | plymouth fury iii,14,8,318,150,4096,13,1971,American 43 | dodge monaco (sw),12,8,383,180,4955,11.5,1971,American 44 | ford country squire (sw),13,8,400,170,4746,12,1971,American 45 | pontiac safari (sw),13,8,400,175,5140,12,1971,American 46 | amc hornet sportabout (sw),18,6,258,110,2962,13.5,1971,American 47 | chevrolet vega (sw),22,4,140,72,2408,19,1971,American 48 | pontiac firebird,19,6,250,100,3282,15,1971,American 49 | ford mustang,18,6,250,88,3139,14.5,1971,American 50 | mercury capri 2000,23,4,122,86,2220,14,1971,American 51 | opel 1900,28,4,116,90,2123,14,1971,European 52 | peugeot 304,30,4,79,70,2074,19.5,1971,European 53 | fiat 124b,30,4,88,76,2065,14.5,1971,European 54 | toyota corolla 1200,31,4,71,65,1773,19,1971,Japanese 55 | datsun 1200,35,4,72,69,1613,18,1971,Japanese 56 | volkswagen model 111,27,4,97,60,1834,19,1971,European 57 | plymouth cricket,26,4,91,70,1955,20.5,1971,American 58 | toyota corona hardtop,24,4,113,95,2278,15.5,1972,Japanese 59 | dodge colt hardtop,25,4,97.5,80,2126,17,1972,American 60 | volkswagen type 3,23,4,97,54,2254,23.5,1972,European 61 | chevrolet vega,20,4,140,90,2408,19.5,1972,American 62 | ford pinto runabout,21,4,122,86,2226,16.5,1972,American 63 | chevrolet impala,13,8,350,165,4274,12,1972,American 64 | pontiac catalina,14,8,400,175,4385,12,1972,American 65 | plymouth fury iii,15,8,318,150,4135,13.5,1972,American 66 | ford galaxie 500,14,8,351,153,4129,13,1972,American 67 | amc ambassador sst,17,8,304,150,3672,11.5,1972,American 68 | mercury marquis,11,8,429,208,4633,11,1972,American 69 | buick lesabre custom,13,8,350,155,4502,13.5,1972,American 70 | oldsmobile delta 88 royale,12,8,350,160,4456,13.5,1972,American 71 | chrysler newport royal,13,8,400,190,4422,12.5,1972,American 72 | mazda rx2 coupe,19,3,70,97,2330,13.5,1972,Japanese 73 | amc matador (sw),15,8,304,150,3892,12.5,1972,American 74 | chevrolet chevelle concours (sw),13,8,307,130,4098,14,1972,American 75 | ford gran torino (sw),13,8,302,140,4294,16,1972,American 76 | plymouth satellite custom (sw),14,8,318,150,4077,14,1972,American 77 | volvo 145e (sw),18,4,121,112,2933,14.5,1972,European 78 | volkswagen 411 (sw),22,4,121,76,2511,18,1972,European 79 | peugeot 504 (sw),21,4,120,87,2979,19.5,1972,European 80 | renault 12 (sw),26,4,96,69,2189,18,1972,European 81 | ford pinto (sw),22,4,122,86,2395,16,1972,American 82 | datsun 510 (sw),28,4,97,92,2288,17,1972,Japanese 83 | toyouta corona mark ii (sw),23,4,120,97,2506,14.5,1972,Japanese 84 | dodge colt (sw),28,4,98,80,2164,15,1972,American 85 | toyota corolla 1600 (sw),27,4,97,88,2100,16.5,1972,Japanese 86 | buick century 350,13,8,350,175,4100,13,1973,American 87 | amc matador,14,8,304,150,3672,11.5,1973,American 88 | chevrolet malibu,13,8,350,145,3988,13,1973,American 89 | ford gran torino,14,8,302,137,4042,14.5,1973,American 90 | dodge coronet custom,15,8,318,150,3777,12.5,1973,American 91 | mercury marquis brougham,12,8,429,198,4952,11.5,1973,American 92 | chevrolet caprice classic,13,8,400,150,4464,12,1973,American 93 | ford ltd,13,8,351,158,4363,13,1973,American 94 | plymouth fury gran sedan,14,8,318,150,4237,14.5,1973,American 95 | chrysler new yorker brougham,13,8,440,215,4735,11,1973,American 96 | buick electra 225 custom,12,8,455,225,4951,11,1973,American 97 | amc ambassador brougham,13,8,360,175,3821,11,1973,American 98 | plymouth valiant,18,6,225,105,3121,16.5,1973,American 99 | chevrolet nova custom,16,6,250,100,3278,18,1973,American 100 | amc hornet,18,6,232,100,2945,16,1973,American 101 | ford maverick,18,6,250,88,3021,16.5,1973,American 102 | plymouth duster,23,6,198,95,2904,16,1973,American 103 | volkswagen super beetle,26,4,97,46,1950,21,1973,European 104 | chevrolet impala,11,8,400,150,4997,14,1973,American 105 | ford country,12,8,400,167,4906,12.5,1973,American 106 | plymouth custom suburb,13,8,360,170,4654,13,1973,American 107 | oldsmobile vista cruiser,12,8,350,180,4499,12.5,1973,American 108 | amc gremlin,18,6,232,100,2789,15,1973,American 109 | toyota carina,20,4,97,88,2279,19,1973,Japanese 110 | chevrolet vega,21,4,140,72,2401,19.5,1973,American 111 | datsun 610,22,4,108,94,2379,16.5,1973,Japanese 112 | maxda rx3,18,3,70,90,2124,13.5,1973,Japanese 113 | ford pinto,19,4,122,85,2310,18.5,1973,American 114 | mercury capri v6,21,6,155,107,2472,14,1973,American 115 | fiat 124 sport coupe,26,4,98,90,2265,15.5,1973,European 116 | chevrolet monte carlo s,15,8,350,145,4082,13,1973,American 117 | pontiac grand prix,16,8,400,230,4278,9.5,1973,American 118 | fiat 128,29,4,68,49,1867,19.5,1973,European 119 | opel manta,24,4,116,75,2158,15.5,1973,European 120 | audi 100ls,20,4,114,91,2582,14,1973,European 121 | volvo 144ea,19,4,121,112,2868,15.5,1973,European 122 | dodge dart custom,15,8,318,150,3399,11,1973,American 123 | saab 99le,24,4,121,110,2660,14,1973,European 124 | toyota mark ii,20,6,156,122,2807,13.5,1973,Japanese 125 | oldsmobile omega,11,8,350,180,3664,11,1973,American 126 | plymouth duster,20,6,198,95,3102,16.5,1974,American 127 | amc hornet,19,6,232,100,2901,16,1974,American 128 | chevrolet nova,15,6,250,100,3336,17,1974,American 129 | datsun b210,31,4,79,67,1950,19,1974,Japanese 130 | ford pinto,26,4,122,80,2451,16.5,1974,American 131 | toyota corolla 1200,32,4,71,65,1836,21,1974,Japanese 132 | chevrolet vega,25,4,140,75,2542,17,1974,American 133 | chevrolet chevelle malibu classic,16,6,250,100,3781,17,1974,American 134 | amc matador,16,6,258,110,3632,18,1974,American 135 | plymouth satellite sebring,18,6,225,105,3613,16.5,1974,American 136 | ford gran torino,16,8,302,140,4141,14,1974,American 137 | buick century luxus (sw),13,8,350,150,4699,14.5,1974,American 138 | dodge coronet custom (sw),14,8,318,150,4457,13.5,1974,American 139 | ford gran torino (sw),14,8,302,140,4638,16,1974,American 140 | amc matador (sw),14,8,304,150,4257,15.5,1974,American 141 | audi fox,29,4,98,83,2219,16.5,1974,European 142 | volkswagen dasher,26,4,79,67,1963,15.5,1974,European 143 | opel manta,26,4,97,78,2300,14.5,1974,European 144 | toyota corona,31,4,76,52,1649,16.5,1974,Japanese 145 | datsun 710,32,4,83,61,2003,19,1974,Japanese 146 | dodge colt,28,4,90,75,2125,14.5,1974,American 147 | fiat 128,24,4,90,75,2108,15.5,1974,European 148 | fiat 124 tc,26,4,116,75,2246,14,1974,European 149 | honda civic,24,4,120,97,2489,15,1974,Japanese 150 | subaru,26,4,108,93,2391,15.5,1974,Japanese 151 | fiat x1.9,31,4,79,67,2000,16,1974,European 152 | plymouth valiant custom,19,6,225,95,3264,16,1975,American 153 | chevrolet nova,18,6,250,105,3459,16,1975,American 154 | mercury monarch,15,6,250,72,3432,21,1975,American 155 | ford maverick,15,6,250,72,3158,19.5,1975,American 156 | pontiac catalina,16,8,400,170,4668,11.5,1975,American 157 | chevrolet bel air,15,8,350,145,4440,14,1975,American 158 | plymouth grand fury,16,8,318,150,4498,14.5,1975,American 159 | ford ltd,14,8,351,148,4657,13.5,1975,American 160 | buick century,17,6,231,110,3907,21,1975,American 161 | chevroelt chevelle malibu,16,6,250,105,3897,18.5,1975,American 162 | amc matador,15,6,258,110,3730,19,1975,American 163 | plymouth fury,18,6,225,95,3785,19,1975,American 164 | buick skyhawk,21,6,231,110,3039,15,1975,American 165 | chevrolet monza 2,20,8,262,110,3221,13.5,1975,American 166 | ford mustang ii,13,8,302,129,3169,12,1975,American 167 | toyota corolla,29,4,97,75,2171,16,1975,Japanese 168 | ford pinto,23,4,140,83,2639,17,1975,American 169 | amc gremlin,20,6,232,100,2914,16,1975,American 170 | pontiac astro,23,4,140,78,2592,18.5,1975,American 171 | toyota corona,24,4,134,96,2702,13.5,1975,Japanese 172 | volkswagen dasher,25,4,90,71,2223,16.5,1975,European 173 | datsun 710,24,4,119,97,2545,17,1975,Japanese 174 | ford pinto,18,6,171,97,2984,14.5,1975,American 175 | volkswagen rabbit,29,4,90,70,1937,14,1975,European 176 | amc pacer,19,6,232,90,3211,17,1975,American 177 | audi 100ls,23,4,115,95,2694,15,1975,European 178 | peugeot 504,23,4,120,88,2957,17,1975,European 179 | volvo 244dl,22,4,121,98,2945,14.5,1975,European 180 | saab 99le,25,4,121,115,2671,13.5,1975,European 181 | honda civic cvcc,33,4,91,53,1795,17.5,1975,Japanese 182 | fiat 131,28,4,107,86,2464,15.5,1976,European 183 | opel 1900,25,4,116,81,2220,16.9,1976,European 184 | capri ii,25,4,140,92,2572,14.9,1976,American 185 | dodge colt,26,4,98,79,2255,17.7,1976,American 186 | renault 12tl,27,4,101,83,2202,15.3,1976,European 187 | chevrolet chevelle malibu classic,17.5,8,305,140,4215,13,1976,American 188 | dodge coronet brougham,16,8,318,150,4190,13,1976,American 189 | amc matador,15.5,8,304,120,3962,13.9,1976,American 190 | ford gran torino,14.5,8,351,152,4215,12.8,1976,American 191 | plymouth valiant,22,6,225,100,3233,15.4,1976,American 192 | chevrolet nova,22,6,250,105,3353,14.5,1976,American 193 | ford maverick,24,6,200,81,3012,17.6,1976,American 194 | amc hornet,22.5,6,232,90,3085,17.6,1976,American 195 | chevrolet chevette,29,4,85,52,2035,22.2,1976,American 196 | chevrolet woody,24.5,4,98,60,2164,22.1,1976,American 197 | vw rabbit,29,4,90,70,1937,14.2,1976,European 198 | honda civic,33,4,91,53,1795,17.4,1976,Japanese 199 | dodge aspen se,20,6,225,100,3651,17.7,1976,American 200 | ford granada ghia,18,6,250,78,3574,21,1976,American 201 | pontiac ventura sj,18.5,6,250,110,3645,16.2,1976,American 202 | amc pacer d/l,17.5,6,258,95,3193,17.8,1976,American 203 | volkswagen rabbit,29.5,4,97,71,1825,12.2,1976,European 204 | datsun b-210,32,4,85,70,1990,17,1976,Japanese 205 | toyota corolla,28,4,97,75,2155,16.4,1976,Japanese 206 | ford pinto,26.5,4,140,72,2565,13.6,1976,American 207 | volvo 245,20,4,130,102,3150,15.7,1976,European 208 | plymouth volare premier v8,13,8,318,150,3940,13.2,1976,American 209 | peugeot 504,19,4,120,88,3270,21.9,1976,European 210 | toyota mark ii,19,6,156,108,2930,15.5,1976,Japanese 211 | mercedes-benz 280s,16.5,6,168,120,3820,16.7,1976,European 212 | cadillac seville,16.5,8,350,180,4380,12.1,1976,American 213 | chevy c10,13,8,350,145,4055,12,1976,American 214 | ford f108,13,8,302,130,3870,15,1976,American 215 | dodge d100,13,8,318,150,3755,14,1976,American 216 | honda accord cvcc,31.5,4,98,68,2045,18.5,1977,Japanese 217 | buick opel isuzu deluxe,30,4,111,80,2155,14.8,1977,American 218 | renault 5 gtl,36,4,79,58,1825,18.6,1977,European 219 | plymouth arrow gs,25.5,4,122,96,2300,15.5,1977,American 220 | datsun f-10 hatchback,33.5,4,85,70,1945,16.8,1977,Japanese 221 | chevrolet caprice classic,17.5,8,305,145,3880,12.5,1977,American 222 | oldsmobile cutlass supreme,17,8,260,110,4060,19,1977,American 223 | dodge monaco brougham,15.5,8,318,145,4140,13.7,1977,American 224 | mercury cougar brougham,15,8,302,130,4295,14.9,1977,American 225 | chevrolet concours,17.5,6,250,110,3520,16.4,1977,American 226 | buick skylark,20.5,6,231,105,3425,16.9,1977,American 227 | plymouth volare custom,19,6,225,100,3630,17.7,1977,American 228 | ford granada,18.5,6,250,98,3525,19,1977,American 229 | pontiac grand prix lj,16,8,400,180,4220,11.1,1977,American 230 | chevrolet monte carlo landau,15.5,8,350,170,4165,11.4,1977,American 231 | chrysler cordoba,15.5,8,400,190,4325,12.2,1977,American 232 | ford thunderbird,16,8,351,149,4335,14.5,1977,American 233 | volkswagen rabbit custom,29,4,97,78,1940,14.5,1977,European 234 | pontiac sunbird coupe,24.5,4,151,88,2740,16,1977,American 235 | toyota corolla liftback,26,4,97,75,2265,18.2,1977,Japanese 236 | ford mustang ii 2,25.5,4,140,89,2755,15.8,1977,American 237 | chevrolet chevette,30.5,4,98,63,2051,17,1977,American 238 | dodge colt m/m,33.5,4,98,83,2075,15.9,1977,American 239 | subaru dl,30,4,97,67,1985,16.4,1977,Japanese 240 | volkswagen dasher,30.5,4,97,78,2190,14.1,1977,European 241 | datsun 810,22,6,146,97,2815,14.5,1977,Japanese 242 | bmw 320i,21.5,4,121,110,2600,12.8,1977,European 243 | mazda rx-4,21.5,3,80,110,2720,13.5,1977,Japanese 244 | volkswagen rabbit custom diesel,43.1,4,90,48,1985,21.5,1978,European 245 | ford fiesta,36.1,4,98,66,1800,14.4,1978,American 246 | mazda glc deluxe,32.8,4,78,52,1985,19.4,1978,Japanese 247 | datsun b210 gx,39.4,4,85,70,2070,18.6,1978,Japanese 248 | honda civic cvcc,36.1,4,91,60,1800,16.4,1978,Japanese 249 | oldsmobile cutlass salon brougham,19.9,8,260,110,3365,15.5,1978,American 250 | dodge diplomat,19.4,8,318,140,3735,13.2,1978,American 251 | mercury monarch ghia,20.2,8,302,139,3570,12.8,1978,American 252 | pontiac phoenix lj,19.2,6,231,105,3535,19.2,1978,American 253 | chevrolet malibu,20.5,6,200,95,3155,18.2,1978,American 254 | ford fairmont (auto),20.2,6,200,85,2965,15.8,1978,American 255 | ford fairmont (man),25.1,4,140,88,2720,15.4,1978,American 256 | plymouth volare,20.5,6,225,100,3430,17.2,1978,American 257 | amc concord,19.4,6,232,90,3210,17.2,1978,American 258 | buick century special,20.6,6,231,105,3380,15.8,1978,American 259 | mercury zephyr,20.8,6,200,85,3070,16.7,1978,American 260 | dodge aspen,18.6,6,225,110,3620,18.7,1978,American 261 | amc concord d/l,18.1,6,258,120,3410,15.1,1978,American 262 | chevrolet monte carlo landau,19.2,8,305,145,3425,13.2,1978,American 263 | buick regal sport coupe (turbo),17.7,6,231,165,3445,13.4,1978,American 264 | ford futura,18.1,8,302,139,3205,11.2,1978,American 265 | dodge magnum xe,17.5,8,318,140,4080,13.7,1978,American 266 | chevrolet chevette,30,4,98,68,2155,16.5,1978,American 267 | toyota corona,27.5,4,134,95,2560,14.2,1978,Japanese 268 | datsun 510,27.2,4,119,97,2300,14.7,1978,Japanese 269 | dodge omni,30.9,4,105,75,2230,14.5,1978,American 270 | toyota celica gt liftback,21.1,4,134,95,2515,14.8,1978,Japanese 271 | plymouth sapporo,23.2,4,156,105,2745,16.7,1978,American 272 | oldsmobile starfire sx,23.8,4,151,85,2855,17.6,1978,American 273 | datsun 200-sx,23.9,4,119,97,2405,14.9,1978,Japanese 274 | audi 5000,20.3,5,131,103,2830,15.9,1978,European 275 | volvo 264gl,17,6,163,125,3140,13.6,1978,European 276 | saab 99gle,21.6,4,121,115,2795,15.7,1978,European 277 | peugeot 604sl,16.2,6,163,133,3410,15.8,1978,European 278 | volkswagen scirocco,31.5,4,89,71,1990,14.9,1978,European 279 | honda accord lx,29.5,4,98,68,2135,16.6,1978,Japanese 280 | pontiac lemans v6,21.5,6,231,115,3245,15.4,1979,American 281 | mercury zephyr 6,19.8,6,200,85,2990,18.2,1979,American 282 | ford fairmont 4,22.3,4,140,88,2890,17.3,1979,American 283 | amc concord dl 6,20.2,6,232,90,3265,18.2,1979,American 284 | dodge aspen 6,20.6,6,225,110,3360,16.6,1979,American 285 | chevrolet caprice classic,17,8,305,130,3840,15.4,1979,American 286 | ford ltd landau,17.6,8,302,129,3725,13.4,1979,American 287 | mercury grand marquis,16.5,8,351,138,3955,13.2,1979,American 288 | dodge st. regis,18.2,8,318,135,3830,15.2,1979,American 289 | buick estate wagon (sw),16.9,8,350,155,4360,14.9,1979,American 290 | ford country squire (sw),15.5,8,351,142,4054,14.3,1979,American 291 | chevrolet malibu classic (sw),19.2,8,267,125,3605,15,1979,American 292 | chrysler lebaron town ,18.5,8,360,150,3940,13,1979,American 293 | vw rabbit custom,31.9,4,89,71,1925,14,1979,European 294 | maxda glc deluxe,34.1,4,86,65,1975,15.2,1979,Japanese 295 | dodge colt hatchback custom,35.7,4,98,80,1915,14.4,1979,American 296 | amc spirit dl,27.4,4,121,80,2670,15,1979,American 297 | mercedes benz 300d,25.4,5,183,77,3530,20.1,1979,European 298 | cadillac eldorado,23,8,350,125,3900,17.4,1979,American 299 | peugeot 504,27.2,4,141,71,3190,24.8,1979,European 300 | oldsmobile cutlass salon brougham,23.9,8,260,90,3420,22.2,1979,American 301 | plymouth horizon,34.2,4,105,70,2200,13.2,1979,American 302 | plymouth horizon tc3,34.5,4,105,70,2150,14.9,1979,American 303 | datsun 210,31.8,4,85,65,2020,19.2,1979,Japanese 304 | fiat strada custom,37.3,4,91,69,2130,14.7,1979,European 305 | buick skylark limited,28.4,4,151,90,2670,16,1979,American 306 | chevrolet citation,28.8,6,173,115,2595,11.3,1979,American 307 | oldsmobile omega brougham,26.8,6,173,115,2700,12.9,1979,American 308 | pontiac phoenix,33.5,4,151,90,2556,13.2,1979,American 309 | vw rabbit,41.5,4,98,76,2144,14.7,1980,European 310 | toyota corolla tercel,38.1,4,89,60,1968,18.8,1980,Japanese 311 | chevrolet chevette,32.1,4,98,70,2120,15.5,1980,American 312 | datsun 310,37.2,4,86,65,2019,16.4,1980,Japanese 313 | chevrolet citation,28,4,151,90,2678,16.5,1980,American 314 | ford fairmont,26.4,4,140,88,2870,18.1,1980,American 315 | amc concord,24.3,4,151,90,3003,20.1,1980,American 316 | dodge aspen,19.1,6,225,90,3381,18.7,1980,American 317 | audi 4000,34.3,4,97,78,2188,15.8,1980,European 318 | toyota corona liftback,29.8,4,134,90,2711,15.5,1980,Japanese 319 | mazda 626,31.3,4,120,75,2542,17.5,1980,Japanese 320 | datsun 510 hatchback,37,4,119,92,2434,15,1980,Japanese 321 | toyota corolla,32.2,4,108,75,2265,15.2,1980,Japanese 322 | mazda glc,46.6,4,86,65,2110,17.9,1980,Japanese 323 | dodge colt,27.9,4,156,105,2800,14.4,1980,American 324 | datsun 210,40.8,4,85,65,2110,19.2,1980,Japanese 325 | vw rabbit c (diesel),44.3,4,90,48,2085,21.7,1980,European 326 | vw dasher (diesel),43.4,4,90,48,2335,23.7,1980,European 327 | audi 5000s (diesel),36.4,5,121,67,2950,19.9,1980,European 328 | mercedes-benz 240d,30,4,146,67,3250,21.8,1980,European 329 | honda civic 1500 gl,44.6,4,91,67,1850,13.8,1980,Japanese 330 | subaru dl,33.8,4,97,67,2145,18,1980,Japanese 331 | vokswagen rabbit,29.8,4,89,62,1845,15.3,1980,European 332 | datsun 280-zx,32.7,6,168,132,2910,11.4,1980,Japanese 333 | mazda rx-7 gs,23.7,3,70,100,2420,12.5,1980,Japanese 334 | triumph tr7 coupe,35,4,122,88,2500,15.1,1980,European 335 | honda accord,32.4,4,107,72,2290,17,1980,Japanese 336 | plymouth reliant,27.2,4,135,84,2490,15.7,1981,American 337 | buick skylark,26.6,4,151,84,2635,16.4,1981,American 338 | dodge aries wagon (sw),25.8,4,156,92,2620,14.4,1981,American 339 | chevrolet citation,23.5,6,173,110,2725,12.6,1981,American 340 | plymouth reliant,30,4,135,84,2385,12.9,1981,American 341 | toyota starlet,39.1,4,79,58,1755,16.9,1981,Japanese 342 | plymouth champ,39,4,86,64,1875,16.4,1981,American 343 | honda civic 1300,35.1,4,81,60,1760,16.1,1981,Japanese 344 | subaru,32.3,4,97,67,2065,17.8,1981,Japanese 345 | datsun 210 mpg,37,4,85,65,1975,19.4,1981,Japanese 346 | toyota tercel,37.7,4,89,62,2050,17.3,1981,Japanese 347 | mazda glc 4,34.1,4,91,68,1985,16,1981,Japanese 348 | plymouth horizon 4,34.7,4,105,63,2215,14.9,1981,American 349 | ford escort 4w,34.4,4,98,65,2045,16.2,1981,American 350 | ford escort 2h,29.9,4,98,65,2380,20.7,1981,American 351 | volkswagen jetta,33,4,105,74,2190,14.2,1981,European 352 | honda prelude,33.7,4,107,75,2210,14.4,1981,Japanese 353 | toyota corolla,32.4,4,108,75,2350,16.8,1981,Japanese 354 | datsun 200sx,32.9,4,119,100,2615,14.8,1981,Japanese 355 | mazda 626,31.6,4,120,74,2635,18.3,1981,Japanese 356 | peugeot 505s turbo diesel,28.1,4,141,80,3230,20.4,1981,European 357 | volvo diesel,30.7,6,145,76,3160,19.6,1981,European 358 | toyota cressida,25.4,6,168,116,2900,12.6,1981,Japanese 359 | datsun 810 maxima,24.2,6,146,120,2930,13.8,1981,Japanese 360 | buick century,22.4,6,231,110,3415,15.8,1981,American 361 | oldsmobile cutlass ls,26.6,8,350,105,3725,19,1981,American 362 | ford granada gl,20.2,6,200,88,3060,17.1,1981,American 363 | chrysler lebaron salon,17.6,6,225,85,3465,16.6,1981,American 364 | chevrolet cavalier,28,4,112,88,2605,19.6,1982,American 365 | chevrolet cavalier wagon,27,4,112,88,2640,18.6,1982,American 366 | chevrolet cavalier 2-door,34,4,112,88,2395,18,1982,American 367 | pontiac j2000 se hatchback,31,4,112,85,2575,16.2,1982,American 368 | dodge aries se,29,4,135,84,2525,16,1982,American 369 | pontiac phoenix,27,4,151,90,2735,18,1982,American 370 | ford fairmont futura,24,4,140,92,2865,16.4,1982,American 371 | volkswagen rabbit l,36,4,105,74,1980,15.3,1982,European 372 | mazda glc custom l,37,4,91,68,2025,18.2,1982,Japanese 373 | mazda glc custom,31,4,91,68,1970,17.6,1982,Japanese 374 | plymouth horizon miser,38,4,105,63,2125,14.7,1982,American 375 | mercury lynx l,36,4,98,70,2125,17.3,1982,American 376 | nissan stanza xe,36,4,120,88,2160,14.5,1982,Japanese 377 | honda accord,36,4,107,75,2205,14.5,1982,Japanese 378 | toyota corolla,34,4,108,70,2245,16.9,1982,Japanese 379 | honda civic,38,4,91,67,1965,15,1982,Japanese 380 | honda civic (auto),32,4,91,67,1965,15.7,1982,Japanese 381 | datsun 310 gx,38,4,91,67,1995,16.2,1982,Japanese 382 | buick century limited,25,6,181,110,2945,16.4,1982,American 383 | oldsmobile cutlass ciera (diesel),38,6,262,85,3015,17,1982,American 384 | chrysler lebaron medallion,26,4,156,92,2585,14.5,1982,American 385 | ford granada l,22,6,232,112,2835,14.7,1982,American 386 | toyota celica gt,32,4,144,96,2665,13.9,1982,Japanese 387 | dodge charger 2.2,36,4,135,84,2370,13,1982,American 388 | chevrolet camaro,27,4,151,90,2950,17.3,1982,American 389 | ford mustang gl,27,4,140,86,2790,15.6,1982,American 390 | vw pickup,44,4,97,52,2130,24.6,1982,European 391 | dodge rampage,32,4,135,84,2295,11.6,1982,American 392 | ford ranger,28,4,120,79,2625,18.6,1982,American 393 | chevy s-10,31,4,119,82,2720,19.4,1982,American --------------------------------------------------------------------------------