{"id":46729,"date":"2022-10-20T00:00:00","date_gmt":"2022-10-20T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/"},"modified":"2025-11-13T12:56:18","modified_gmt":"2025-11-13T20:56:18","slug":"using-griddb-to-analyze-factors-affecting-used-car-sales","status":"publish","type":"post","link":"https:\/\/griddb.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/","title":{"rendered":"Using GridDB to Analyze Factors Affecting Used Car Sales"},"content":{"rendered":"<p>The <a href=\"https:\/\/www.es.kearney.com\/automotive\/article\/-\/insights\/the-contribution-of-the-automobile-industry-to-technology-and-value-creation\">automobile industry<\/a>, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability, and technological advancement in the first and third world nations.<\/p>\n<p>The global auto industry is booming, and to bring about new changes, they have turned to produce new electric vehicles. However, this article will not discuss new inventions or automobiles; instead, we will examine the market for used fossil fuel-based cars and which factors are responsible for causing an impact on this market.<\/p>\n<p>GridDB will be used to analyze the factors that influence used car sales because it is a highly scalable and optimized in-memory No SQL database that allows parallel processing for increased performance and efficiency, particularly for time-series databases. GridDB&#8217;s node js client will be used, which allows us to connect GridDB to node js and import or export data in real-time. In addition, we will use the DanfoJS library to work with data frames for data analysis to create interesting visualizations and data findings.<\/p>\n<p>The dataset, which is in csv format, was obtained from <a href=\"https:\/\/www.kaggle.com\/datasets\/shubham1kumar\/usedcar-data?select=UserCarData.csv\">Kaggle<\/a>. We will see what the data represents later in the Data Analysis section.<\/p>\n<p><a href=\"https:\/\/github.com\/griddbnet\/Blogs\/tree\/used-car-sales\">Full Source code found here<\/a><\/p>\n<h2>Exporting Dataset into GridDB<\/h2>\n<p>To begin, we must initialize the GridDB node modules griddb node, danfojs-node, and csv-parser. Griddb node starts the node so we can work on GridDB, Danfojs-node is initialized as a variable, df, which is used in data analysis, and csv-parser will upload our dataset into GridDB by reading the csv file, which is as follows:<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">var griddb = require('griddb_node');\n\nconst dfd = require(\"danfojs-node\")\nconst csv = require('csv-parser');\nconst fs = require('fs');\nfs.createReadStream('.\/Dataset\/UserCarData.csv')\n  .pipe(csv())\n  .on('data', (row) => {\n    lst.push(row);\n    console.log(lst);\n  })<\/code><\/pre>\n<\/div>\n<p>Following variable initialization, we will generate the GridDB container to create the database schema. In the container, we have to define the data types of columns in our dataset. We can then use the container later to access the stored data, completing our data insertion into the GridDB.<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">const conInfo = new griddb.ContainerInfo({\n    'name': \"usedcaranalysis\",\n    'columnInfoList': [\n      [\"name\", griddb.Type.STRING],\n      [\"Sales_ID\", griddb.Type.INTEGER],\n        [\"name\", griddb.Type.STRING],\n        [\"year\", griddb.Type.INTEGER],\n        [\"selling_price\", griddb.Type.INTEGER],\n        [\"km_driven\", griddb.Type.INTEGER],\n        [\"Region\", griddb.Type.STRING],\n        [\"State or Province\", griddb.Type.STRING],\n        [\"City\", griddb.Type.STRING],\n        [\"fuel\", griddb.Type.STRING],\n        [\"seller_type\", griddb.Type.STRING],\n        [\"transmission\", griddb.Type.STRING],\n        [\"owner\", griddb.Type.STRING],\n        [\"mileage\", griddb.Type.DOUBLE],\n        [\"engine\", griddb.Type.INTEGER],\n        [\"max_power\", griddb.Type.DOUBLE],\n        [\"torque\", griddb.Type.STRING],\n        [\"seats\", griddb.Type.INTEGER],\n        [\"sold\", griddb.Type.STRING]\n    ],\n    'type': griddb.ContainerType.COLLECTION, 'rowKey': true\n});\n\n\/\/ Inserting Data into GridDB\n\n    for(let i=0;i&lt;lst.length;i++){\n\n    store.putContainer(conInfo, false)\n        .then(cont => {\n            container = cont;\n            return container.createIndex({ 'columnName': 'name', 'indexType': griddb.IndexType.DEFAULT });\n        })\n        .then(() => {\n            idx++;\n            container.setAutoCommit(false);\n            return container.put([String(idx), lst[i]['Sales_ID'],lst[i][\"name\"],lst[i][\"year\"],lst[i][\"selling_price\"],lst[i][\"km_driven\"],lst[i][\"Region\"],lst[i][\"State or Province\"],lst[i][\"City\"],lst[i][\"fuel\"],lst[i][\"seller_type\"],lst[i][\"transmission\"],lst[i][\"owner\"],lst[i][\"mileage\"],lst[i][\"engine\"],lst[i][\"max_power\"],lst[i][\"torque\"],lst[i][\"seats\"],lst[i][\"sold\"]]);\n        })\n        .then(() => {\n            return container.commit();\n        })      \n        .catch(err => {\n            if (err.constructor.name == \"GSException\") {\n                for (var i = 0; i &lt; err.getErrorStackSize(); i++) {\n                    console.log(\"[\", i, \"]\");\n                    console.log(err.getErrorCode(i));\n                    console.log(err.getMessage(i));\n                }\n            } else {\n                console.log(err);\n            }\n        });\n    }<\/code><\/pre>\n<\/div>\n<h2>Importing Dataset from GridDB<\/h2>\n<p>Since we&#8217;ve already saved all of our data in the container, all we have to do now is retrieve it using TQL, GridDB&#8217;s SQL-like query language. So, to begin, we will construct a container for the retrieved data, named obtained_data. The next step is to extract the rows in the column order, named query, and save them in a data frame, named df, for data visualization and analysis, completing our data import.<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\"># Get the containers\nobtained_data = gridstore.get_container(\"usedcaranalysis\")\n    \n# Fetch all rows - language_tag_container\nquery = obtained_data.query(\"select *\")\n\n# Creating Data Frame variable\nlet df = await dfd.readCSV(\".\/out.csv\")<\/code><\/pre>\n<\/div>\n<h2>Data Analysis<\/h2>\n<p>To begin our data analysis, it is always best to start with the most basic steps possible. As a result, we will look at our dataset&#8217;s columns and what they represent, as well as the total number of rows and columns:<\/p>\n<ul>\n<li>Sales_ID : Unique identification number given to the sale.<\/li>\n<li>name : Name of the company who built the car.<\/li>\n<li>year : Model year of the car sold.<\/li>\n<li>selling_price : Selling price of the car.<\/li>\n<li>km_driven : Total number of kilometres driven.<\/li>\n<li>Region : District of the state where the sale was conducted.<\/li>\n<li>State or Province : Name of the state or the province where the sale was done.<\/li>\n<li>City : Name of the city where the sale was carried out.<\/li>\n<li>fuel : Fuel type for the car.<\/li>\n<li>seller_type : The type of the seller, like Dealer or Individual.<\/li>\n<li>transmission : The transmission type of the car sold.<\/li>\n<li>owner : The chain of ownership, like first, second, etc.<\/li>\n<li>mileage : The mileage given by the car in km\/l.<\/li>\n<li>engine : Engine cc.<\/li>\n<li>max_power : Horsepower of the car sold.<\/li>\n<li>torque : Torque of the car sold, in Nm.<\/li>\n<li>seats : Seating capacity of the car sold.<\/li>\n<li>sold : Whether the car sale was successful or not.<\/li>\n<\/ul>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">console.log(df.shape)\n\n\/\/  Output\n\/\/ [ 7906, 18 ]<\/code><\/pre>\n<\/div>\n<p>We have 7906 rows and 18 columns of data to analyze (excluding the Sales_ID), so we have 7906 cars and 17 different factors to see how used car sales are affected. However, because we assume that car sales are affected by the features offered in a specific car, we will exclude geographical constraints from our analysis. It would be unfair to judge a car&#8217;s sale based on where it was sold. As a result, we will exclude the columns &#8220;Region&#8221;, &#8220;State or Province&#8221;, and &#8220;City&#8221; from our data analysis.<\/p>\n<p>Now that we&#8217;ve established that, we can proceed with our analysis.<\/p>\n<p>To begin, we will compare the summary statistics with some of the most factors that affect the car sales.<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">df.loc({columns:['year', 'selling_price', 'km_driven', 'mileage', 'engine', 'max_power', 'seats']}).describe().round(2).print()\n\n\n\n\/\/ Output\n\/\/ \u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2564\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n\/\/ \u2551            \u2502 year              \u2502 selling_price     \u2502 km_driven         \u2502 mileage           \u2502 engine            \u2502 max_power         \u2502 seats             \u2551\n\/\/ \u255f\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n\/\/ \u2551 count      \u2502 7906.00           \u2502 7.90e+03          \u2502 7.90e+03          \u2502 7906.00           \u2502 7906.00           \u2502 7906.0            \u2502 7906.00           \u2551\n\/\/ \u255f\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n\/\/ \u2551 mean       \u2502 2013.98           \u2502 6.50e+05          \u2502 6.92e+04          \u2502 19.42             \u2502 1458.70           \u2502 91.58             \u2502 5.42              \u2551\n\/\/ \u255f\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n\/\/ \u2551 std        \u2502 3.86              \u2502 8.13e+05          \u2502 5.67e+04          \u2502 4.04              \u2502 503.89            \u2502 35.74             \u2502 0.96              \u2551\n\/\/ \u255f\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n\/\/ \u2551 min        \u2502 1994.00           \u2502 2.99e+04          \u2502 1.00e+00          \u2502 0.00              \u2502 624.00            \u2502 32.80             \u2502 2.00              \u2551\n\/\/ \u255f\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n\/\/ \u2551 median     \u2502 2015.00           \u2502 4.50e+05          \u2502 6.00e+04          \u2502 19.30             \u2502 1248.00           \u2502 82.00             \u2502 5.00              \u2551\n\/\/ \u255f\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n\/\/ \u2551 max        \u2502 2020.00           \u2502 1.00e+07          \u2502 2.36e+06          \u2502 42.00             \u2502 3604.00           \u2502 400.00            \u2502 14.00             \u2551\n\/\/ \u255f\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2502\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2562\n\/\/ \u2551 variance   \u2502 1.49e+01          \u2502 6.62e+11          \u2502 3.22e+09          \u2502 1.63e+01          \u2502 2.54e+09          \u2502 1.28e+03          \u2502 9.20e-01          \u2551\n\/\/ \u255a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2567\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255d<\/code><\/pre>\n<\/div>\n<p>The count in the above summary table corresponds to the number of rows we calculated, indicating that we do not have any null values in our dataset. Regarding other features, we can see that the car model year ranges from 1994 to 2020, regardless of the company. Furthermore, we can see that the cars sold have better mileage, with the average being 20 km\/l, which is a key feature people look for when purchasing a car. On the other hand, if you are not concerned with mileage, cars with larger engines, up to 3600cc, produce the most horsepower (400).<\/p>\n<p>To summarise, all of the above factors determine the selling price of a specific car. So, for example, if the km driven increases, the selling price will almost certainly fall because people will not want to buy a car that has been driven a lot because the engine or other parts might need to be repaired. The graphs below show how some of these factors relate to one another.<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">## Scatter Plot between engine and max_power\nlet cols = [...cols]\ncols.pop('engine')\nlet data = [{\n    x: df['engine'].values,\n    y: df['max_power'].values,\n    type: 'scatter',\n    mode: 'markers'}];\nlet layout = {\n    height: 400,\n    width: 700,\n    title: 'Engine vs Max_power',\n    xaxis: {title: 'Engine Size'},\n    yaxis: {title: 'Max Power'}};\n\/\/ There is no HTML element named `myDiv`, hence the plot is displayed below.\nPlotly.newPlot('myDiv', data, layout);    <\/code><\/pre>\n<\/div>\n<p>The plot for two columns engine and max_power is below:<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Scatterplot1.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Scatterplot1.png\" alt=\"\" width=\"580\" height=\"540\" class=\"aligncenter size-full wp-image-28737\" srcset=\"\/wp-content\/uploads\/2022\/08\/Scatterplot1.png 580w, \/wp-content\/uploads\/2022\/08\/Scatterplot1-300x279.png 300w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>The plot above shows that the two variables have a positive linear relationship with other, which means that the greater the engine size, the greater the power by the engine which should make sense.<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">## Scatter Plot between km_driven and selling_price\nlet cols = [...cols]\ncols.pop('year')\nlet data = [{\n    x: df['km_driven'].values,\n    y: df['selling_price'].values,\n    type: 'scatter',\n    mode: 'markers'}];\nlet layout = {\n    height: 400,\n    width: 700,\n    title: 'Km Driven vs Selling Price',\n    xaxis: {title: 'Km Driven'},\n    yaxis: {title: 'Selling Price'}};\n\/\/ There is no HTML element named `myDiv`, hence the plot is displayed below.\nPlotly.newPlot('myDiv', data, layout);    <\/code><\/pre>\n<\/div>\n<p>The plot for two columns km_driven and selling_price is below:<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Scatterplot2.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Scatterplot2.png\" alt=\"\" width=\"571\" height=\"563\" class=\"aligncenter size-full wp-image-28740\" srcset=\"\/wp-content\/uploads\/2022\/08\/Scatterplot2.png 571w, \/wp-content\/uploads\/2022\/08\/Scatterplot2-300x296.png 300w\" sizes=\"(max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n<p>According to the plot above, the two variables have a negative linear relationship, which means that the higher the number of kilometers driven on the car, the lower the car&#8217;s selling price. It demonstrates that people prefer to buy used cars that have been driven less frequently, possibly because the car that has been driven less frequently may require less repair than the car that has been driven frequently leading to high selling prices.<\/p>\n<p>Using a bar chart, let&#8217;s look at the car manufacturers and see who has the most sales.<\/p>\n<h2>Bar Chart<\/h2>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">## Distribution of Column Values\nconst { Plotly } = require('node-kernel');\nlet cols = df.columns\nfor(let i = 0; i &lt; cols.length; i++)\n{\n    let data = [{\n        x: cols[i],\n        y: df[cols[i]].values,\n        type: 'bar'}];\n    let layout = {\n        height: 400,\n        width: 700,\n        title: 'Car Manufacturers Sales' +cols[i],\n        xaxis: {title: cols[i]}};\n    \/\/ There is no HTML element named `myDiv`, hence the plot is displayed below.\n    Plotly.newPlot('myDiv', data, layout);\n}\ndf.plot(\"plot_div\").bar()<\/code><\/pre>\n<\/div>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Barchart-1.png\"><img decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Barchart-1.png\" alt=\"\" width=\"470\" height=\"387\" class=\"aligncenter size-full wp-image-28744\" srcset=\"\/wp-content\/uploads\/2022\/08\/Barchart-1.png 470w, \/wp-content\/uploads\/2022\/08\/Barchart-1-300x247.png 300w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/a><\/p>\n<p>According to the bar chart above, Maruti has outperformed its competitors by a wide margin.<\/p>\n<p>Finally, we will examine how these variables are related and which impacts used car sales most. The correlation map below will assist us in this regard.<\/p>\n<h2>Correlation<\/h2>\n<div class=\"clipboard\">\n<pre><code class=\"language-javascript\">correlogram(data)<\/code><\/pre>\n<\/div>\n<p>The Correlation plot is below:<\/p>\n<p><a href=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Correlationplot.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/Correlationplot.png\" alt=\"\" width=\"1295\" height=\"717\" class=\"aligncenter size-full wp-image-28736\" srcset=\"\/wp-content\/uploads\/2022\/08\/Correlationplot.png 1295w, \/wp-content\/uploads\/2022\/08\/Correlationplot-300x166.png 300w, \/wp-content\/uploads\/2022\/08\/Correlationplot-1024x567.png 1024w, \/wp-content\/uploads\/2022\/08\/Correlationplot-768x425.png 768w, \/wp-content\/uploads\/2022\/08\/Correlationplot-600x332.png 600w\" sizes=\"(max-width: 1295px) 100vw, 1295px\" \/><\/a><\/p>\n<p>The values for variables are shown in the correlation plot above, and the higher the value, the stronger the relationship is between them. For example, values greater than 0.5 in the correlation plot indicate that the two variables are more closely related than values less than 0.5. As a result, selling price and max price have the highest values (0.75), indicating that they are the two most important variables in determining the car&#8217;s selling price and, ultimately, the car sales. However, because the same variables will naturally have the strongest correlations, we ignore the diagonal above in the correlation plot.<\/p>\n<h2>Conclusion<\/h2>\n<p>While we initially thought mileage would be the most important factor in used car sales, it turns out that the max_power and selling_price of the cars have the greatest impact on the sales.<\/p>\n<p>Finally, GridDB was used for all this data analysis because it allowed for quick access and efficient data reading, writing, and storing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The automobile industry, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability, and technological advancement in the first and third world nations. The global auto industry is booming, and to bring about new changes, they have turned to produce new electric vehicles. However, this [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":28848,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[121],"tags":[],"class_list":["post-46729","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using GridDB to Analyze Factors Affecting Used Car Sales | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"The automobile industry, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using GridDB to Analyze Factors Affecting Used Car Sales | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"The automobile industry, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-20T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-13T20:56:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1242\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"Using GridDB to Analyze Factors Affecting Used Car Sales\",\"datePublished\":\"2022-10-20T07:00:00+00:00\",\"dateModified\":\"2025-11-13T20:56:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/\"},\"wordCount\":1230,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/\",\"name\":\"Using GridDB to Analyze Factors Affecting Used Car Sales | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg\",\"datePublished\":\"2022-10-20T07:00:00+00:00\",\"dateModified\":\"2025-11-13T20:56:18+00:00\",\"description\":\"The automobile industry, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability,\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg\",\"contentUrl\":\"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg\",\"width\":1920,\"height\":1242},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/griddb.net\/en\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using GridDB to Analyze Factors Affecting Used Car Sales | GridDB: Open Source Time Series Database for IoT","description":"The automobile industry, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/","og_locale":"en_US","og_type":"article","og_title":"Using GridDB to Analyze Factors Affecting Used Car Sales | GridDB: Open Source Time Series Database for IoT","og_description":"The automobile industry, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability,","og_url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2022-10-20T07:00:00+00:00","article_modified_time":"2025-11-13T20:56:18+00:00","og_image":[{"width":1920,"height":1242,"url":"https:\/\/griddb.net\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg","type":"image\/jpeg"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"Written by":"griddb-admin","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#article","isPartOf":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"Using GridDB to Analyze Factors Affecting Used Car Sales","datePublished":"2022-10-20T07:00:00+00:00","dateModified":"2025-11-13T20:56:18+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/"},"wordCount":1230,"commentCount":0,"publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg","articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/","name":"Using GridDB to Analyze Factors Affecting Used Car Sales | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg","datePublished":"2022-10-20T07:00:00+00:00","dateModified":"2025-11-13T20:56:18+00:00","description":"The automobile industry, which spans many adjacent industries, is a pillar of the global economy, a key contributor to macroeconomic growth and stability,","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/blog\/using-griddb-to-analyze-factors-affecting-used-car-sales\/#primaryimage","url":"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg","contentUrl":"\/wp-content\/uploads\/2022\/08\/30533-london-in-the-morning_1920x1242.jpg","width":1920,"height":1242},{"@type":"WebSite","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/griddb.net\/en\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/posts\/46729","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/comments?post=46729"}],"version-history":[{"count":1,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/posts\/46729\/revisions"}],"predecessor-version":[{"id":51401,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/posts\/46729\/revisions\/51401"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/media\/28848"}],"wp:attachment":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/media?parent=46729"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/categories?post=46729"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/tags?post=46729"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}