Code Monkey home page Code Monkey logo

davizly-dain's Introduction

Davizly-dain

Welcome to Davizly-dain, an open-source data visualization library designed to help developers, data scientists and information designers create intuitive and dynamic visual representations of their data. This library is part of a personal project aimed at practicing and enhancing my programming skills while contributing valuable tools to the community.

Version2 Comming soon

Installation

npm install davizly-dain

Features

  • Dynamic Charts: Easily create and customize dynamic charts to visualize complex data.
  • Interactive Graphs: Implement interactive graphs that users can manipulate to explore data sets.
  • Custom Visualizations: Extend the library with your own custom visualizations using simple API hooks.

Usage

davizly-shape

import * as davizly from "davizly-dain";
const container = document.querySelector(".container")
const svg = davizly.SVG().appendTo(container).attr("width", "100%").attr("height", "100%")

const circle = davizly.Circle(100,100,100).appendTo(svg).attr("fill", "red")

joinData

const datas = [1,4,2,3,2,4,5,5,2,23,4,3,2,1,1,4]
let circles = davizly.JoinData(datas).connectShape("circle").appendTo(svg)
circles
.attr("cx", (ele, idx) => {
    if(ele > 10){
        return window.innerWidth - 100;
    }else {
        return 100
    }
})
.attr("cy", (ele, idx) => {
   return 100 * idx
})
.attr("r", 100)
.attr("fill", "black")

Documentation →

License

Davizly-dain is released under the MIT license. This means it is free for everyone to use, modify, and distribute for both personal and commercial purposes. Feel free to fork this repository, contribute back, or use it in your own projects!

davizly-dain's People

Contributors

dainpark-web avatar

Stargazers

 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.