Giter Club home page Giter Club logo

web-codebook's People

Contributors

dependabot[bot] avatar jwildfire avatar mhickle avatar muang0 avatar pburnsdata avatar samussiah avatar srikanthsarabu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web-codebook's Issues

Add bar charts for categorical variables

Add a toggle that lets a user toggle between dot plots and bar charts for categorical variables.

Bar charts are simple enough without grouping variables, but when there is an active grouping (e.g. site), draw one panel per level like the SAS implementation here

Remove space between the bars in the histogram #1

Add a process to either increase the bar width or (perhaps better) reduce the chart width.

Give the container a max width of 800 or 1000 pixels and change to use rectangles instead of lines.

Bars should be the same size, but they will be closer together and the overall chart width will be smaller.

Create new chart for categorical variables with >5 levels

When a categorical variables has more than 5 levels, render a bar chart showing all levels with y-axis = prevelance and x-axis = level. Hide the x-axis labels, and instead show the level name, number of observations and % of observations on mouseover.

This should do a better job showing the distribution for categorical variables with lots of levels (participant ID, etc).

Chart Renders infinitely

To reproduce:

Pull up CAT in FireFox: https://jwildfire.github.io/CAT/
Confirm the renderer is web-codebook renderer
Input version as: ded094e
Confirm data file is safetyData-queries/ADAE.csv
Click "Render Chart"
Click the grey arrow next to the AGE to expand the chart
Watch the chart expand for all eternity

1912_8851

add createChart alias for createCodebook

Up through v0.11.0 we used createChart to create Codebooks (createChart is used in almost all other renders also). v1.0.0 is going to move to createCodebook as the standard (since the object created is a codebook object containing lots of webcharts chart objects), but for convenience, let's support createChart() as an alias as well.

Custom view for boolean variables

Consider a simplified view showing just "% true" for boolean variables. Would want to add an option that would allow a user to specify how boolean works in their data (0/1 vs. true/false vs. "yes"/"no").

Add count on x-axis

Feedback from the SDF meeting on 4/13. Karen Boyle said it would be helpful to see the x-axis of some of the charts shown in counts instead of percentages.

Add option for larger boxplot

Potentially add margin and offset x-axis accordingly so that boxplot has more space below histogram. We will need to set this behind the scenes. We will test that we can change the size of the boxplot with difference configurations.

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.