Skip to main content
100%

Full Name Greeting with ReactiveModel

✓ Published0🌍 Public
CCurran Kelleher
Last edited Jun 13, 2016
Created on Apr 15, 2016

This example demonstrates how to build a dynamic web page using ReactiveModel, D3 4.0, and Bootstrap. It shows two input boxes for first and last names, with a greeting message that updates live as the user types. ReactiveModel’s reactive functions compute a full name from the inputs and then a greeting, which updates the DOM via d3.select and the text method. The code uses the model’s property setters and dependency strings to propagate changes through the data flow graph.

AI-generated description
<p align="center"> <a href="https://github.com/datavis-tech/reactive-model#full-name"> <img src="https://cloud.githubusercontent.com/assets/68416/15454260/1f12dba8-2051-11e6-9fcf-4fa31e6ba365.png"> </a> <br> The data flow graph for <a href="https://github.com/datavis-tech/reactive-model#full-name">this example</a>. </p>

This example shows how to make a simple dynamic Web page using ReactiveModel, D3 4.0 and Bootstrap. When you type in the First Name and Last Name input boxes, the greeting text updates.

Part of a series of examples demonstrating ReactiveModel.

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/05780c9eb997b86eab76'>ModelJS firstName lastName</a>

Built with blockbuilder.org

<!-- Start of SimpleHitCounter Code --> <div align="center"><a href="http://www.simplehitcounter.com" target="_blank"><img src="http://simplehitcounter.com/hit.php?uid=2072922&f=16777215&b=0" border="0" height="18" width="83" alt="web counter"></a></div> <!-- End of SimpleHitCounter Code -->
mit Licensed

Similar vizzes