GithubHelp home page GithubHelp logo

idreesishaq / data-sets Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.17 MB

A collection of JavaScript data sets created in the form of objects, arrays, objects of objects, array of objects and possible complex structures.

JavaScript 100.00%

data-sets's Introduction

Data-sets

A collection of JavaScript data sets created in the form of objects, arrays, objects of objects, array of objects and possible complex structures.

Here is a glimpse of data sets which each folder contains particularly. May this brief description would help you to find a suitable data set to work on.

objects_of_objects

This data set is structered as objects of objects of objects. As we see here the main object cars has multiple objects with having properties like 'honda', 'toyota', 'suzuki' etc. Each of which further has objects with unique name (property) describing a car with 12 properties associated with each car.

Example

var cars = {
    honda: {
        vezel2019: {
            brand: "Honda",
            model: "Vezel",
            year: "2019",
            distanceTravelled: "13,713 km",
            fuelType: "hybrid",
            transmission: "automatic",
            color: "white",
            enginCapacity: "1500cc",
            bodyType: "crossover",
            pricePKR: "85 lacs",
            imageSrc: "images/honda-vezel-hybrid-z-2019.webp",
            nameDescription: "Honda Vezel Hybrid Z 2019"
         }
    }
}

Array of objects

This data set is structured as array. Each element of the array is an object itself with the same twelve (12) property value pairs which the objects_of_objects dataset has.

Example

var cars = [
    {
        brand: "Honda",
        model: "Vezel",
        year: "2019",
        distanceTravelled: "13,713 km",
        fuelType: "hybrid",
        transmission: "automatic",
        color: "white",
        enginCapacity: "1500cc",
        bodyType: "crossover",
        pricePKR: "85 lacs",
        imageSrc: "images/honda-vezel-hybrid-z-2019.webp",
        nameDescription: "Honda Vezel Hybrid Z 2019"
    }
]

data-sets's People

Contributors

idreesishaq avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.